Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit e35d72d

Browse files
committed
Merge pull request #841
2 parents 2ccc589 + f4e8b9f commit e35d72d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ void* php_mongo_io_stream_connect(mongo_con_manager *manager, mongo_server_def *
179179
php_stream_close(stream);
180180
return NULL;
181181
}
182-
} else {
182+
} else if (stream->context) {
183183
#ifdef HAVE_OPENSSL_EXT
184184
zval **zcert;
185185

0 commit comments

Comments
 (0)