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);
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