libidav/resource.c

changeset 100
f4127c4d1018
parent 84
7fca3788261d
child 134
4bccc18820e8
equal deleted inserted replaced
88:4d6b03bd7034 100:f4127c4d1018
530 } 530 }
531 } 531 }
532 } 532 }
533 533
534 curl_easy_setopt(handle, CURLOPT_HTTPHEADER, NULL); 534 curl_easy_setopt(handle, CURLOPT_HTTPHEADER, NULL);
535 curl_easy_setopt(handle, CURLOPT_SSL_VERIFYPEER, 0);
536 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, NULL); 535 curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, NULL);
537 curl_easy_setopt(handle, CURLOPT_PUT, 0L); 536 curl_easy_setopt(handle, CURLOPT_PUT, 0L);
538 curl_easy_setopt(handle, CURLOPT_UPLOAD, 0L); 537 curl_easy_setopt(handle, CURLOPT_UPLOAD, 0L);
539 538
540 curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, write_fnc); 539 curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, write_fnc);

mercurial