Print MSG_EXIT packet exit code in debug output

This commit is contained in:
Marc André Tanner 2018-03-17 18:27:01 +01:00
parent 52d5c7d098
commit 17b386e93f
1 changed files with 3 additions and 0 deletions

View File

@ -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;