sas Thu Aug 28 11:16:21 2003 EDT
Modified files:
/php-src/ext/standard fsock.c
Log:
fix format string (long port)
Index: php-src/ext/standard/fsock.c
diff -u php-src/ext/standard/fsock.c:1.113 php-src/ext/standard/fsock.c:1.114
--- php-src/ext/standard/fsock.c:1.113 Tue Jun 10 16:03:37 2003
+++ php-src/ext/standard/fsock.c Thu Aug 28 11:16:20 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fsock.c,v 1.113 2003/06/10 20:03:37 imajes Exp $ */
+/* $Id: fsock.c,v 1.114 2003/08/28 15:16:20 sas Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -52,7 +52,7 @@
}
if (persistent) {
- spprintf(&hashkey, 0, "pfsockopen__%s:%d", host, port);
+ spprintf(&hashkey, 0, "pfsockopen__%s:%ld", host, port);
}
if (port > 0) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php