From 62d7887465dfcef368e3e35e1b6df154383f2cf1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 25 Oct 2009 11:04:13 +0100 Subject: [PATCH] Use Qmsg instead of Jmsg when fides_mutex is locked in close_msg() --- bacula/src/lib/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.39.5