]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BIRD Client: Improve output asynchronous message in birdc
authorPavel Tvrdik <pawel.tvrdik@gmail.com>
Tue, 26 Apr 2016 13:55:24 +0000 (15:55 +0200)
committerPavel Tvrdik <pawel.tvrdik@gmail.com>
Tue, 26 Apr 2016 14:29:04 +0000 (16:29 +0200)
client/client.c

index 5d8f1b379bfb5a9107725f351148111143dcaf97..56194a098bc871efbc69383bc351d9520aa4f3b0 100644 (file)
@@ -355,8 +355,13 @@ server_got_reply(char *x)
   int code = 0;
   int len = 0;
 
-  if (*x == '+')                        /* Async reply */
+//  input_notify(0);
+
+  if (*x == '+') {                       /* Async reply */
+    busy = 1;
+    input_notify(0);
     PRINTF(len, ">>> %s\n", x+1);
+  }
   else if (x[0] == ' ')                 /* Continuation */
     PRINTF(len, "%s%s\n", verbose ? "     " : "", x+1);
   else if (strlen(x) > 4 &&