Skip to content

Commit

Permalink
tinyssh/packet_get.c fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
janmojzis committed Jan 15, 2018
1 parent 4ea9e0f commit e4db2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tinyssh/packet_get.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int packet_get(struct buf *b, crypto_uint8 x) {
char buf1[NUMTOSTR_LEN];
char buf2[NUMTOSTR_LEN];
errno = EPROTO;
log_f4("expected packet type ", numtostr(buf1, b->buf[0]), ", got ", numtostr(buf2, x));
log_f4("expected packet type ", numtostr(buf1, x), ", got ", numtostr(buf2, b->buf[0]));
global_die(111);
}
break;
Expand Down

0 comments on commit e4db2a2

Please sign in to comment.