]> granicus.if.org Git - php/commitdiff
Fixed a typo.
authorIlia Alshanetsky <iliaa@php.net>
Sat, 19 Oct 2002 16:50:07 +0000 (16:50 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 19 Oct 2002 16:50:07 +0000 (16:50 +0000)
main/network.c

index d506a31b409269e6f96d62387be2a2c88d07f10d..280ced061797c183376ab3c44044b395cd9fed39 100644 (file)
@@ -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);