wxString CardDAV::GetDefaultAddressBookURL(){
- // First: Get the principal UID address.
+ // Get the default address book URL.
PageData.Clear();
PageHeader.Clear();
wxString ServerAddressSSL;
wxString ServerAddressNormal;
+ // First: Get the principal UID address.
+
conn = curl_easy_init();
+
+#if defined(__APPLE__)
+
+ SetConnectionObject(conn);
+#endif
+
struct curl_slist *connhd = NULL;
struct curl_slist *connhd2 = NULL;
struct curl_slist *connhd3 = NULL;
curl_easy_setopt(conn, CURLOPT_SSL_VERIFYHOST, 0L);
}
+#if defined(__APPLE__)
+
+ SetConnectionObject(conn);
+
+#endif
+
conncode = (curl_easy_perform(conn));
if (conncode == CURLE_OK){
curl_easy_setopt(conn, CURLOPT_SSL_VERIFYHOST, 0L);
}
+#if defined(__APPLE__)
+
+ SetConnectionObject(conn);
+
+#endif
+
conncode = (curl_easy_perform(conn));
if (conncode == CURLE_OK){
curl_easy_setopt(conn, CURLOPT_SSL_VERIFYHOST, 0L);
}
+#if defined(__APPLE__)
+
+ SetConnectionObject(conn);
+
+#endif
+
conncode = (curl_easy_perform(conn));
if (conncode == CURLE_OK){