Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ah/fix-http-push' into maint
author
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Jul 2014 17:29:07 +0000
(10:29 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 22 Jul 2014 17:29:07 +0000
(10:29 -0700)
* ah/fix-http-push:
http-push.c: make CURLOPT_IOCTLDATA a usable pointer
http-push.c
patch
|
blob
|
history
raw
(from parent 1:
0d854fc
)
diff --git
a/http-push.c
b/http-push.c
index de00d1693af902713ab5562e9d87fe621b02f955..bc94a3f6abeb3ddaa9d926fa051f740f691f6e6e 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-199,7
+199,7
@@
static void curl_setup_http(CURL *curl, const char *url,
curl_easy_setopt(curl, CURLOPT_READFUNCTION, fread_buffer);
#ifndef NO_CURL_IOCTL
curl_easy_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctl_buffer);
- curl_easy_setopt(curl, CURLOPT_IOCTLDATA,
&
buffer);
+ curl_easy_setopt(curl, CURLOPT_IOCTLDATA, buffer);
#endif
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_fn);
curl_easy_setopt(curl, CURLOPT_NOBODY, 0);