fix format string (long port)

This commit is contained in:
Sascha Schumann 2003-08-28 15:16:20 +00:00
parent b26dcef54f
commit 96ad1c8bcb

View File

@ -52,7 +52,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent)
}
if (persistent) {
spprintf(&hashkey, 0, "pfsockopen__%s:%d", host, port);
spprintf(&hashkey, 0, "pfsockopen__%s:%ld", host, port);
}
if (port > 0) {