From: Steve Brokenshire Date: Thu, 3 Mar 2016 03:39:43 +0000 (+0000) Subject: Changed the subroutine from CalDAVOutput to CalDAVReceive when connecting. X-Git-Tag: release-0.02~313 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=9ea9e0f667abc2079640078eaa627a48eab5dffb;p=xestiacalendar%2F.git Changed the subroutine from CalDAVOutput to CalDAVReceive when connecting. --- diff --git a/source/objects/CalDAV/CalDAV.cpp b/source/objects/CalDAV/CalDAV.cpp index d9d81e4..c20447a 100644 --- a/source/objects/CalDAV/CalDAV.cpp +++ b/source/objects/CalDAV/CalDAV.cpp @@ -128,7 +128,7 @@ CalDAVServerResult CalDAV::Connect(){ curl_easy_setopt(ConnectionHandle, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST); curl_easy_setopt(ConnectionHandle, CURLOPT_FAILONERROR, 1L); curl_easy_setopt(ConnectionHandle, CURLOPT_TIMEOUT, ConnectionData.Timeout); - curl_easy_setopt(ConnectionHandle, CURLOPT_WRITEFUNCTION, CalDAVOutput); + curl_easy_setopt(ConnectionHandle, CURLOPT_WRITEFUNCTION, CalDAVReceive); curl_easy_setopt(ConnectionHandle, CURLOPT_WRITEDATA, &ServerData); curl_easy_setopt(ConnectionHandle, CURLOPT_WRITEHEADER, &ServerHeader);