1
0
mirror of https://github.com/php/php-src.git synced 2026-04-15 12:01:07 +02:00

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) {