From 12edf911c69031ef3c6b1cf61a44f978d0e422ce Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 5 Jan 2017 02:43:54 +0100 Subject: [PATCH] Fixed a compile-breaking mistake. --- src/ne2000.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ne2000.c b/src/ne2000.c index c0db645f0..961bff795 100644 --- a/src/ne2000.c +++ b/src/ne2000.c @@ -1554,7 +1554,10 @@ if(net_is_pcap && net_pcap!=NULL) return; } data=_pcap_next(net_pcap,&h); - if(data==0x0){goto WTF;} + if(data==0x0) + { + return; + } /* Received. */ mac_cmp32[0] = *(uint32_t *) (data+6); mac_cmp16[0] = *(uint16_t *) (data+10);