]> git.sur5r.net Git - bacula/bacula/commitdiff
kes This patch should ensure that queued messages to the console are
authorKern Sibbald <kern@sibbald.com>
Sun, 25 Nov 2007 14:18:33 +0000 (14:18 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 25 Nov 2007 14:18:33 +0000 (14:18 +0000)
     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

bacula/src/dird/ua_server.c

index e362baa5a126b68d48878bd9645837bdb82a6d17..2cb78457a8d61be3d87412acfe341ca553c75b92 100644 (file)
@@ -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) {