]> git.sur5r.net Git - bacula/bacula/commitdiff
Use Qmsg instead of Jmsg when fides_mutex is locked in close_msg()
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 25 Oct 2009 10:04:13 +0000 (11:04 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 25 Oct 2009 10:04:13 +0000 (11:04 +0100)
bacula/src/lib/message.c

index e96078bd3b3f3aa10989410b2823b891b1830720..0ad7f2c9e96566a7c0232bf10f05c71dffa30223 100644 (file)
@@ -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());
             }