From: Eric Bollengier Date: Sun, 25 Oct 2009 10:04:13 +0000 (+0100) Subject: Use Qmsg instead of Jmsg when fides_mutex is locked in close_msg() X-Git-Tag: Release-5.0.0~281^2~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d65dc28a9797f2356a2a99efcadbbea2e3874b12;p=bacula%2Fbacula Use Qmsg instead of Jmsg when fides_mutex is locked in close_msg() --- diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index e96078bd3b..0ad7f2c9e9 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -479,7 +479,7 @@ void close_msg(JCR *jcr) if (msgs != daemon_msgs) { /* read what mail prog returned -- should be nothing */ while (fgets(line, len, bpipe->rfd)) { - Jmsg1(jcr, M_INFO, 0, _("Mail prog: %s"), line); + Qmsg1(jcr, M_INFO, 0, _("Mail prog: %s"), line); } } @@ -488,7 +488,7 @@ void close_msg(JCR *jcr) berrno be; be.set_errno(stat); Dmsg1(850, "Calling emsg. CMD=%s\n", cmd); - Jmsg2(jcr, M_ERROR, 0, _("Mail program terminated in error.\n" + Qmsg2(jcr, M_ERROR, 0, _("Mail program terminated in error.\n" "CMD=%s\n" "ERR=%s\n"), cmd, be.bstrerror()); }