Merge pull request #230 from t-b/backport_webdav_hotfix
Backport fixes from 2.0.x maintance releases
diff --git a/http-push.c b/http-push.c
index d4b40c9..bc81732 100644
--- a/http-push.c
+++ b/http-push.c
@@ -200,7 +200,7 @@
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);