jl777 8 years ago
parent
commit
179b00f357
  1. 2
      iguana/dpow/dpow_network.c

2
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) )

Loading…
Cancel
Save