summaryrefslogtreecommitdiff
path: root/ext/standard/fsock.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2003-08-28 16:49:57 +0000
committerSascha Schumann <sas@php.net>2003-08-28 16:49:57 +0000
commit436a07176cd99736fb907f7ed94213a8fc0fa5bb (patch)
treeef7f75f0f0438bc59892e736263a287d8c7a2ec9 /ext/standard/fsock.c
parent341b7b5df1140a31198aa18200c039eecf8d4e11 (diff)
downloadphp-git-436a07176cd99736fb907f7ed94213a8fc0fa5bb.tar.gz
fix format strings
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r--ext/standard/fsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/fsock.c b/ext/standard/fsock.c
index 4932965383..0d3df92fbd 100644
--- a/ext/standard/fsock.c
+++ b/ext/standard/fsock.c
@@ -83,7 +83,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent)
efree(hostname);
}
if (stream == NULL) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:%d (%s)", host, port, errstr == NULL ? "Unknown error" : errstr);
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to connect to %s:%ld (%s)", host, port, errstr == NULL ? "Unknown error" : errstr);
}
if (hashkey) {