mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
fix format string (long port)
This commit is contained in:
parent
b26dcef54f
commit
96ad1c8bcb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user