diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/H5FDstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c index 581c0b7..919f360 100644 --- a/src/H5FDstream.c +++ b/src/H5FDstream.c @@ -904,7 +904,7 @@ static herr_t H5FD_stream_close (H5FD_t *_stream) } /* Release resources */ - if (H5FD_STREAM_ERROR_CHECK (stream->socket) && stream->internal_socket) + if (! H5FD_STREAM_ERROR_CHECK (stream->socket) && stream->internal_socket) { H5FD_STREAM_CLOSE_SOCKET (stream->socket); } |