projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
8a3043b
)
Fix build with -Werror=format-security
author
Remi Collet
<remi@php.net>
Thu, 2 Jan 2014 16:19:18 +0000
(17:19 +0100)
committer
Remi Collet
<remi@php.net>
Thu, 2 Jan 2014 16:19:18 +0000
(17:19 +0100)
php_http_client_curl.c
patch
|
blob
|
history
diff --git
a/php_http_client_curl.c
b/php_http_client_curl.c
index cc5e8104f83573d5294d02ad25f6077477b7b7ab..4033b9f56c5c0c61a36b19ae4475d5e9edb50f19 100644
(file)
--- a/
php_http_client_curl.c
+++ b/
php_http_client_curl.c
@@
-1807,7
+1807,7
@@
static STATUS php_http_client_curl_exec(php_http_client_t *h)
/* see http://msdn.microsoft.com/library/en-us/winsock/winsock/windows_sockets_error_codes_2.asp */
php_error_docref(NULL TSRMLS_CC, E_WARNING, "WinSock error: %d", WSAGetLastError());
#else
- php_error_docref(NULL TSRMLS_CC, E_WARNING, strerror(errno));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING,
"%s",
strerror(errno));
#endif
return FAILURE;
}