diff options
author | Sara Golemon <pollita@php.net> | 2004-06-07 05:00:37 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-06-07 05:00:37 +0000 |
commit | 3838fb99dea007b1b42d4735808500168e996cb3 (patch) | |
tree | 1bf275f97e7c872302eeff651baf88c1509a3786 /ext/sockets/sockets.c | |
parent | 1b80f44cf11aa79e749153259b15d63e8a7d5339 (diff) | |
download | php-git-3838fb99dea007b1b42d4735808500168e996cb3.tar.gz |
MFB: Missing length limit parameter.
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r-- | ext/sockets/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 4aeaeecf9d..8f2a329c35 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -322,7 +322,7 @@ static char *php_strerror(int error TSRMLS_DC) buf = hstrerror(error); #else { - spprintf(&(SOCKETS_G(strerror_buf)), "Host lookup error %d", error); + spprintf(&(SOCKETS_G(strerror_buf)), 0, "Host lookup error %d", error); buf = SOCKETS_G(strerror_buf); } #endif |