summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmain/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams.c b/main/streams.c
index b578ac89d1..262a78418a 100755
--- a/main/streams.c
+++ b/main/streams.c
@@ -615,7 +615,7 @@ PHPAPI int _php_stream_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_D
PHPAPI char *_php_stream_gets(php_stream *stream, char *buf, size_t maxlen TSRMLS_DC)
{
- char *cr, *lf, *eol;
+ char *cr, *lf, *eol = NULL;
size_t toread = 0, didread = 0, justread = 0, avail = 0;
char *readptr;