From: Ilia Alshanetsky Date: Sat, 19 Oct 2002 16:50:07 +0000 (+0000) Subject: Fixed a typo. X-Git-Tag: php-4.3.0pre2~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ca0b28b6aab884ff27936008e2dc22724b1acf6;p=php Fixed a typo. --- diff --git a/main/network.c b/main/network.c index d506a31b40..280ced0617 100644 --- a/main/network.c +++ b/main/network.c @@ -802,8 +802,9 @@ static int handle_ssl_error(php_stream *stream, int nr_bytes TSRMLS_DC) esbuf[code] = '\0'; ebuf = erealloc(ebuf, ebuf_size + code + 1); - if (wptr = NULL) + if (wptr == NULL) { wptr = ebuf; + } /* also copies the NUL */ memcpy(wptr, esbuf, code + 1);