diff options
author | Sascha Schumann <sas@php.net> | 2003-08-28 16:49:57 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-08-28 16:49:57 +0000 |
commit | 436a07176cd99736fb907f7ed94213a8fc0fa5bb (patch) | |
tree | ef7f75f0f0438bc59892e736263a287d8c7a2ec9 /ext/standard/fsock.c | |
parent | 341b7b5df1140a31198aa18200c039eecf8d4e11 (diff) | |
download | php-git-436a07176cd99736fb907f7ed94213a8fc0fa5bb.tar.gz |
fix format strings
Diffstat (limited to 'ext/standard/fsock.c')
-rw-r--r-- | ext/standard/fsock.c | 2 |
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) { |