From ca675e32060e6cc8133b9e6626d86b59d52f0466 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 19 Dec 2016 13:17:57 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 546622a3c..a683421df 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -873,13 +873,13 @@ void dpow_nanomsg_update(struct supernet_info *myinfo) } //dp->crcs[firstz] = crc32; } - } else printf("crc error %x vs %x or no dp.%p\n",crc32,np->crc32,dp); + } else printf("crc error %x vs %x or no dp.%p [%s]\n",crc32,np->crc32,dp,np->symbol); } else printf("ignore np->datalen.%d %d (size %d - %ld)\n",np->datalen,(int32_t)(size-sizeof(*np)),size,sizeof(*np)); - } - } + } else printf("wrong version\n"); + } else printf("illegal size.%d\n",size); if ( np != 0 ) nn_freemsg(np), np = 0; - } + } else printf("no packets\n"); portable_mutex_unlock(&myinfo->dpowmutex); n = 0; if ( (size= nn_recv(myinfo->dexsock,&dexp,NN_MSG,0)) >= 0 )