diff options
author | Thies C. Arntzen <thies@php.net> | 2001-11-29 08:18:50 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-11-29 08:18:50 +0000 |
commit | 3ee263e3482c79525f864f9a0f378382e8cac51f (patch) | |
tree | 6b5db5d4be4d1b9b65eeb0048f898448f7c5544a /ext/sockets/sockets.c | |
parent | 5a67b295e6290128aa1963ab4ac5ae72542c0ce0 (diff) | |
download | php-git-3ee263e3482c79525f864f9a0f378382e8cac51f.tar.gz |
i'm sure i had this compile before;-)
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r-- | ext/sockets/sockets.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } /* }}} */ |