Browse Source

*cough*

Fix inverted logic for the assert.
migration/unlabaled-1.29.2
Wez Furlong 24 years ago
parent
commit
106631fce1
  1. 5
      main/streams.c

5
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;
}

Loading…
Cancel
Save