mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 15:41:54 +00:00
BIRD Client: Improve output asynchronous message in birdc
This commit is contained in:
parent
7a7bb6def2
commit
5b0472587a
@ -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 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user