From 9ea9e0f667abc2079640078eaa627a48eab5dffb Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Thu, 3 Mar 2016 03:39:43 +0000 Subject: [PATCH] Changed the subroutine from CalDAVOutput to CalDAVReceive when connecting. --- source/objects/CalDAV/CalDAV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5