X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fextnotify%2Fextnotify_main.c;fp=citadel%2Fmodules%2Fextnotify%2Fextnotify_main.c;h=097c9fef8f35a47f5879d0c33eadc191d34455f8;hb=3052311a6d7a2b14d2ff24edff6344cf1ae109b4;hp=38b6ef1fa19cd1e65ac25dc16f9be541255d5aff;hpb=fa351940faf673b02f6207d7b94b9c7af59ea932;p=citadel.git diff --git a/citadel/modules/extnotify/extnotify_main.c b/citadel/modules/extnotify/extnotify_main.c index 38b6ef1fa..097c9fef8 100644 --- a/citadel/modules/extnotify/extnotify_main.c +++ b/citadel/modules/extnotify/extnotify_main.c @@ -120,7 +120,7 @@ int GetNotifyHosts(NotifyContext *Ctx) if (pche == NULL) { syslog(LOG_ERR, "extnotify: filename of notification " - "template not found in %s.\n", + "template not found in %s.", pchs); continue; } @@ -174,9 +174,9 @@ eNotifyType extNotify_getConfigMessage(char *username, num_msgs = cdbfr->len / sizeof(long); cdb_free(cdbfr); } else { - syslog(LOG_DEBUG, - "extNotify_getConfigMessage: " - "No config messages found\n"); + MARKM_syslog(LOG_DEBUG, + "extNotify_getConfigMessage: " + "No config messages found"); return eNone; /* No messages at all? No further action. */ } for (a = 0; a < num_msgs; ++a) { @@ -392,8 +392,8 @@ void do_extnotify_queue(void) if (IsEmptyStr(CtdlGetConfigStr("c_pager_program")) && IsEmptyStr(CtdlGetConfigStr("c_funambol_host"))) { - syslog(LOG_ERR, - "No external notifiers configured on system/user\n"); + MARKM_syslog(LOG_DEBUG, + "No external notifiers configured on system/user"); return; } @@ -409,13 +409,13 @@ void do_extnotify_queue(void) /* * Go ahead and run the queue */ - syslog(LOG_DEBUG, "serv_extnotify: processing notify queue\n"); + MARKM_syslog(LOG_DEBUG, "serv_extnotify: processing notify queue"); memset(&Ctx, 0, sizeof(NotifyContext)); if ((GetNotifyHosts(&Ctx) > 0) && (CtdlGetRoom(&CC->room, FNBL_QUEUE_ROOM) != 0)) { - syslog(LOG_ERR, "Cannot find room <%s>\n", FNBL_QUEUE_ROOM); + syslog(LOG_ERR, "Cannot find room <%s>", FNBL_QUEUE_ROOM); if (Ctx.nNotifyHosts > 0) { for (i = 0; i < Ctx.nNotifyHosts * 2; i++) @@ -426,7 +426,7 @@ void do_extnotify_queue(void) } CtdlForEachMessage(MSGS_ALL, 0L, NULL, SPOOLMIME, NULL, process_notify, &Ctx); - syslog(LOG_DEBUG, "serv_extnotify: queue run completed\n"); + MARKM_syslog(LOG_DEBUG, "serv_extnotify: queue run completed"); doing_queue = 0; if (Ctx.nNotifyHosts > 0) {