summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-10-02 13:18:01 +0000
committerMarcus Boerger <helly@php.net>2002-10-02 13:18:01 +0000
commitefec24d22d254f76b6ddbea3d59199ac4b6ab6d2 (patch)
tree1d059f0e73ec1fd30f03a25c8cc4852d79308a0e
parentafb75a45e903121d2fb0b466c528ea00d808eef8 (diff)
downloadphp-git-efec24d22d254f76b6ddbea3d59199ac4b6ab6d2.tar.gz
Missing variable init
-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;