Don't call msg_hdr_ntoh twice
This commit is contained in:
parent
a83a32ddf9
commit
e315ecf3d2
1 changed files with 0 additions and 1 deletions
1
nmrp.c
1
nmrp.c
|
@ -158,7 +158,6 @@ static int msg_ntoh(struct nmrp_msg *msg)
|
|||
struct nmrp_opt *opt = msg->opts;
|
||||
int remaining;
|
||||
|
||||
msg_hdr_ntoh(msg);
|
||||
remaining = msg->len - NMRP_HDR_LEN;
|
||||
|
||||
// FIXME maximum of two options supported, maximum option
|
||||
|
|
Loading…
Add table
Reference in a new issue