Fixed packet_empty()

This commit is contained in:
Erik Ekman 2007-12-01 22:41:27 +00:00 committed by Erik Ekman
parent 3c644e9a88
commit 468844b0a9

View file

@ -25,7 +25,7 @@
int
packet_empty(struct packet *packet)
{
return (packet->len != 0);
return (packet->len == 0);
}
/**