From 3ee263e3482c79525f864f9a0f378382e8cac51f Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 29 Nov 2001 08:18:50 +0000 Subject: [PATCH] i'm sure i had this compile before;-) --- ext/sockets/sockets.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } /* }}} */ -- 2.50.1