aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/gnunet-helper-transport-wlan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c
index 72314beb2..2a6fcb8fb 100644
--- a/src/transport/gnunet-helper-transport-wlan.c
+++ b/src/transport/gnunet-helper-transport-wlan.c
@@ -1053,9 +1053,6 @@ check_crc_buf_osdep (const unsigned char *buf, size_t len)
1053{ 1053{
1054 unsigned long crc; 1054 unsigned long crc;
1055 1055
1056 if (0 > len)
1057 return 0;
1058
1059 crc = calc_crc_osdep (buf, len); 1056 crc = calc_crc_osdep (buf, len);
1060 buf += len; 1057 buf += len;
1061 return (((crc) & 0xFF) == buf[0] && ((crc >> 8) & 0xFF) == buf[1] && 1058 return (((crc) & 0xFF) == buf[0] && ((crc >> 8) & 0xFF) == buf[1] &&