]> 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 328dc9e7cc43e402d771d4851f4ea5abe98824c7..3fea5a199d1ebe3ba6152da78666e56a85ff26ac 100644 (file)
@@ -123,9 +123,9 @@ 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);
 
-                       aide_message(buf, "External notifier unable to find message template!");
+                       CtdlAideMessage(buf, "External notifier unable to find message template!");
                        goto free;
                }
                mimetype = GuessMimeByFilename(template, tlen);
@@ -148,9 +148,9 @@ 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);
 
-                       aide_message(buf, "External notifier unable to load message template!");
+                       CtdlAideMessage(buf, "External notifier unable to load message template!");
                        goto free;
                }
                // Do substitutions