From 179b00f357689896760fbaae3a266003c5b44dd1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 16 Oct 2016 09:27:37 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 274756496..955a892fd 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -107,7 +107,7 @@ void dpow_nanomsg_update(struct supernet_info *myinfo) { if ( size >= 0 ) { - if ( np->datalen == (size - sizeof(*np) - 2) ) + if ( np->datalen == (size - sizeof(*np)) ) { crc32 = calc_crc32(0,np->packet,np->datalen); if ( np->version0 != (DPOW_VERSION & 0xff) || np->version1 != ((DPOW_VERSION >> 8) & 0xff) )