]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/extnotify/funambol65.c
fix source so that '-Wformat -Werror=format-security' doesn't stop us from compiling
[citadel.git] / citadel / modules / extnotify / funambol65.c
index 4964d9ca9d5b65f0aaa96594e888f027261cb61d..3fea5a199d1ebe3ba6152da78666e56a85ff26ac 100644 (file)
@@ -123,7 +123,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));
-                       CtdlLogPrintf(CTDL_ERR, buf);
+                       CtdlLogPrintf(CTDL_ERR, "%s", buf);
 
                        CtdlAideMessage(buf, "External notifier unable to find message template!");
                        goto free;
@@ -148,7 +148,7 @@ int notify_http_server(char *remoteurl,
                        snprintf(buf, SIZ, 
                                 "Cannot load template file %s; won't send notification\r\n", 
                                 file_funambol_msg);
-                       CtdlLogPrintf(CTDL_ERR, buf);
+                       CtdlLogPrintf(CTDL_ERR, "%s", buf);
 
                        CtdlAideMessage(buf, "External notifier unable to load message template!");
                        goto free;