CURL: in this errorcase we don't have a context and have to use another syslog alias...
[citadel.git] / citadel / modules / eventclient / serv_eventclient.c
index adf896972a0eb702a79dadd689179c3db5268774..d54d72947ee99fd26fef456cad530c537e351aa7 100644 (file)
@@ -316,10 +316,10 @@ gotwatchsock(CURL *easy,
        if (IO == NULL) {
                sta = curl_easy_getinfo(easy, CURLINFO_PRIVATE, &f);
                if (sta) {
-                       EVCURL_syslog(LOG_ERR,
-                                     "EVCURL: error asking curl for private "
-                                     "cookie of curl handle: %s\n",
-                                     curl_easy_strerror(sta));
+                       CURL_syslog(LOG_ERR,
+                                   "EVCURL: error asking curl for private "
+                                   "cookie of curl handle: %s\n",
+                                   curl_easy_strerror(sta));
                        return -1;
                }
                IO = (AsyncIO *) f;