From 2080e2fb4a87286dd1ab5a8a33a35f839de866e0 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Mon, 7 Jun 2004 04:42:40 +0000 Subject: [PATCH] Missing length limit parameter. --- ext/sockets/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 5a62d53de1..ab425be019 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -350,7 +350,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 -- 2.40.0