Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added #defined(__APPLE__) around SetConnectionObject in the CardDAV object.
[xestiaab/.git] / source / carddav / carddav-processdata.cpp
index 84f5144..55a353f 100644 (file)
@@ -48,7 +48,11 @@ void CardDAV::ProcessDataThread(){
         
         conn = curl_easy_init();
        
+#if defined(__APPLE__)
+       
         SetConnectionObject(conn);
+
+#endif
        
        struct CardDAVCURLPasser {
        
@@ -341,9 +345,13 @@ void CardDAV::ProcessDataThread(){
                        curl_easy_setopt(sslerrconn, CURLOPT_NOSIGNAL, 1);
                        curl_easy_setopt(sslerrconn, CURLOPT_SSL_VERIFYPEER, 0);
                        curl_easy_setopt(sslerrconn, CURLOPT_CERTINFO, 1);
+       
+#if defined(__APPLE__)
                        
                        SetConnectionObject(sslerrconn);
                        
+#endif
+                       
                        sslerrconncode = (curl_easy_perform(sslerrconn));
 
 #if defined(__APPLE__)
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy