diff options
Diffstat (limited to 'main/streams.c')
| -rwxr-xr-x | main/streams.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/streams.c b/main/streams.c index 743fcac233..b407fac85a 100755 --- a/main/streams.c +++ b/main/streams.c @@ -760,8 +760,9 @@ PHPAPI char *_php_stream_gets(php_stream *stream, char *buf, size_t maxlen TSRML } if (total_copied == 0) { - if (grow_mode) - assert(bufstart != NULL); + if (grow_mode) { + assert(bufstart == NULL); + } return NULL; } |
