FreeBSD Bugzilla – Attachment 41888 Details for
Bug 65403
[lang/php4] Fix php4 build with curl 7.11.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.51 KB, created by
Sunpoet Po-Chuan Hsieh
on 2004-04-10 19:30:19 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Sunpoet Po-Chuan Hsieh
Created:
2004-04-10 19:30:19 UTC
Size:
1.51 KB
patch
obsolete
>--- ext/curl/curl.c.orig Sat Mar 13 01:43:17 2004 >+++ ext/curl/curl.c Sun Apr 11 01:51:38 2004 >@@ -565,7 +565,7 @@ > */ > static void curl_free_post(void **post) > { >- curl_formfree((struct HttpPost *) *post); >+ curl_formfree((struct curl_httppost *) *post); > } > /* }}} */ > >@@ -605,7 +605,7 @@ > (void(*)(void *)) curl_free_string, 0); > zend_llist_init(&(*ch)->to_free.slist, sizeof(struct curl_slist), > (void(*)(void *)) curl_free_slist, 0); >- zend_llist_init(&(*ch)->to_free.post, sizeof(struct HttpPost), >+ zend_llist_init(&(*ch)->to_free.post, sizeof(struct curl_httppost), > (void(*)(void *)) curl_free_post, 0); > } > /* }}} */ >@@ -842,6 +842,7 @@ > ch->handlers->write_header->func = *zvalue; > ch->handlers->write_header->method = PHP_CURL_USER; > break; >+/* > case CURLOPT_PASSWDFUNCTION: > if (ch->handlers->passwd) { > zval_ptr_dtor(&ch->handlers->passwd); >@@ -851,12 +852,13 @@ > error = curl_easy_setopt(ch->cp, CURLOPT_PASSWDFUNCTION, curl_passwd); > error = curl_easy_setopt(ch->cp, CURLOPT_PASSWDDATA, (void *) ch); > break; >+*/ > case CURLOPT_POSTFIELDS: > if (Z_TYPE_PP(zvalue) == IS_ARRAY || Z_TYPE_PP(zvalue) == IS_OBJECT) { > zval **current; > HashTable *postfields; >- struct HttpPost *first = NULL; >- struct HttpPost *last = NULL; >+ struct curl_httppost *first = NULL; >+ struct curl_httppost *last = NULL; > char *postval; > char *string_key = NULL; > ulong num_key;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 65403
: 41888