From: Wilfried Goesgens Date: Fri, 25 May 2012 11:07:30 +0000 (+0200) Subject: CURL: in this errorcase we don't have a context and have to use another syslog alias... X-Git-Tag: v8.12~79 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=6a61899af576a26fc4dc52e883b8e5184c9c5213 CURL: in this errorcase we don't have a context and have to use another syslog alias. tnx CST --- diff --git a/citadel/modules/eventclient/serv_eventclient.c b/citadel/modules/eventclient/serv_eventclient.c index adf896972..d54d72947 100644 --- a/citadel/modules/eventclient/serv_eventclient.c +++ b/citadel/modules/eventclient/serv_eventclient.c @@ -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;