projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
* prevent inclusion of winsock.h
[m6w6/ext-http]
/
http_curl_api.c
diff --git
a/http_curl_api.c
b/http_curl_api.c
index ed68c3127dc71493716e43403bbb0f738089f459..dde417aa899876c0b2288652b310e2f20fc040de 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)
{
/* {{{ 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, */
switch (i)
{
/* CURLINFO_EFFECTIVE_URL = CURLINFO_STRING +1, */
@@
-702,7
+702,6
@@
PHP_HTTP_API STATUS _http_post_curldata_ex(CURL *ch, const char *URL,
return SUCCESS;}
/* }}} */
return SUCCESS;}
/* }}} */
-
/*
* Local variables:
* tab-width: 4
/*
* Local variables:
* tab-width: 4