abduco

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 17b386e93f258223a5da0b8a3392b39e26637bd1
parent 52d5c7d098f4a1f44d0d79da0f0684f0ac8ace65
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat, 17 Mar 2018 18:27:01 +0100

Print MSG_EXIT packet exit code in debug output

Diffstat:
debug.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/debug.c b/debug.c @@ -36,6 +36,9 @@ static void print_packet(const char *prefix, Packet *pkt) { pkt->u.i & CLIENT_READONLY, pkt->u.i & CLIENT_LOWPRIORITY); break; + case MSG_EXIT: + fprintf(stderr, "status: %"PRIu32, pkt->u.i); + break; default: fprintf(stderr, "len: %"PRIu32, pkt->len); break;