mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-26 09:37:48 +00:00
Fixed packet_empty()
This commit is contained in:
parent
9e60b36430
commit
3b7927b2dc
@ -25,7 +25,7 @@
|
|||||||
int
|
int
|
||||||
packet_empty(struct packet *packet)
|
packet_empty(struct packet *packet)
|
||||||
{
|
{
|
||||||
return (packet->len != 0);
|
return (packet->len == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user