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:
85e7a5a
)
* un-hack curl info name duplication
author
Michael Wallner
<mike@php.net>
Wed, 23 Feb 2005 11:34:57 +0000
(11:34 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 23 Feb 2005 11:34:57 +0000
(11:34 +0000)
http_curl_api.c
patch
|
blob
|
history
diff --git
a/http_curl_api.c
b/http_curl_api.c
index ed68c3127dc71493716e43403bbb0f738089f459..7c5c8b34d182490e4b2592b88bd6b5db9f4f6306 100644
(file)
--- a/
http_curl_api.c
+++ b/
http_curl_api.c
@@
-352,7
+352,7
@@
static inline void _http_curl_setopts(CURL *ch, const char *url, HashTable *opti
/* {{{ static inline char *http_curl_getinfoname(CURLINFO) */
static inline char *_http_curl_getinfoname(CURLINFO i TSRMLS_DC)
{
-#define CASE(I) case CURLINFO_ ##I : {
static char I[] = #I; return pretty_key(I
, sizeof(#I)-1, 0, 0); }
+#define CASE(I) case CURLINFO_ ##I : {
return pretty_key(http_curl_copystr(#I)
, sizeof(#I)-1, 0, 0); }
switch (i)
{
/* CURLINFO_EFFECTIVE_URL = CURLINFO_STRING +1, */