]> granicus.if.org Git - php/commitdiff
i'm sure i had this compile before;-)
authorThies C. Arntzen <thies@php.net>
Thu, 29 Nov 2001 08:18:50 +0000 (08:18 +0000)
committerThies C. Arntzen <thies@php.net>
Thu, 29 Nov 2001 08:18:50 +0000 (08:18 +0000)
ext/sockets/sockets.c

index f7666481e3346aacd2cefd242d1e76868ea2b3ec..11f6945b5f2dd4b12128e2c8e02e488ac339f431 100644 (file)
@@ -779,7 +779,8 @@ PHP_FUNCTION(socket_read)
        }
        
        tmpbuf = erealloc(tmpbuf, retval + 1);
-       tmpbuf[ retval ] = '\0` ;
+       tmpbuf[ retval ] = '\0' ;
+
        RETURN_STRINGL(tmpbuf, retval, 0);
 }
 /* }}} */