From: Kern Sibbald Date: Sun, 25 Nov 2007 14:18:33 +0000 (+0000) Subject: kes This patch should ensure that queued messages to the console are X-Git-Tag: Release-2.2.7~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10027846b0b99eb77c3dd1996558afd1a431eec1;p=bacula%2Fbacula kes This patch should ensure that queued messages to the console are displayed as soon as possible. It should fix bug 1007, but has been reported not to work. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5981 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_server.c b/bacula/src/dird/ua_server.c index e362baa5a1..2cb78457a8 100644 --- a/bacula/src/dird/ua_server.c +++ b/bacula/src/dird/ua_server.c @@ -146,6 +146,7 @@ static void *handle_UA_client_request(void *arg) } else { do_a_command(ua, ua->cmd); } + dequeue_messages(ua->jcr); if (!ua->quit) { if (console_msg_pending && acl_access_ok(ua, Command_ACL, "messages", 8)) { if (ua->auto_display_messages) {