]> 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 4985700adc7055b63e1a68969e6ca8abbad6f099..8f4c14a42eecb18ad48e682e9c631e0316316c1e 100644 (file)
@@ -128,7 +128,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 free;
@@ -153,7 +153,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 free;