Commit 5b047258 authored by Pavel Tvrdik's avatar Pavel Tvrdik
Browse files

BIRD Client: Improve output asynchronous message in birdc

parent 7a7bb6de
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -355,8 +355,13 @@ server_got_reply(char *x)
  int code = 0;
  int code = 0;
  int len = 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);
    PRINTF(len, ">>> %s\n", x+1);
  }
  else if (x[0] == ' ')                 /* Continuation */
  else if (x[0] == ' ')                 /* Continuation */
    PRINTF(len, "%s%s\n", verbose ? "     " : "", x+1);
    PRINTF(len, "%s%s\n", verbose ? "     " : "", x+1);
  else if (strlen(x) > 4 &&
  else if (strlen(x) > 4 &&