From: Thies C. Arntzen Date: Thu, 29 Nov 2001 08:18:50 +0000 (+0000) Subject: i'm sure i had this compile before;-) X-Git-Tag: ChangeLog~226 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ee263e3482c79525f864f9a0f378382e8cac51f;p=php i'm sure i had this compile before;-) --- diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index f7666481e3..11f6945b5f 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -779,7 +779,8 @@ PHP_FUNCTION(socket_read) } tmpbuf = erealloc(tmpbuf, retval + 1); - tmpbuf[ retval ] = '\0` ; + tmpbuf[ retval ] = '\0' ; + RETURN_STRINGL(tmpbuf, retval, 0); } /* }}} */