X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Ffunambol65.c;h=2f6ef6e5cb8fb26e2fc55087777dd68e16e8bde5;hb=192056a6112602350c1f8a73eae2e134a31c7ba2;hp=5cd7c4d9eda718e990749ee7fc05bce28d89451f;hpb=f1ee61891901850ebbdee1e9440b363dc6df540a;p=citadel.git diff --git a/citadel/modules/extnotify/funambol65.c b/citadel/modules/extnotify/funambol65.c index 5cd7c4d9e..2f6ef6e5c 100644 --- a/citadel/modules/extnotify/funambol65.c +++ b/citadel/modules/extnotify/funambol65.c @@ -90,7 +90,7 @@ int notify_http_server(char *remoteurl, snprintf(buf, SIZ, "Cannot load template file %s [%s]won't send notification\r\n", file_funambol_msg, strerror(errno)); - syslog(LOG_ERR, buf); + syslog(LOG_ERR, "%s", buf); CtdlAideMessage(buf, "External notifier unable to find message template!"); goto abort; @@ -113,7 +113,7 @@ int notify_http_server(char *remoteurl, snprintf(buf, SIZ, "Cannot load template file %s; won't send notification\r\n", file_funambol_msg); - syslog(LOG_ERR, buf); + syslog(LOG_ERR, "%s", buf); CtdlAideMessage(buf, "External notifier unable to load message template!"); goto abort; @@ -178,7 +178,7 @@ int notify_http_server(char *remoteurl, OPT(INTERFACE, config.c_ip_addr); } - evcurl_handle_start(IO); + QueueCurlContext(IO); return 0; abort: