From 2910eb6271c0d9b3d08d6d1bf2ef6634a7db783d Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 17 Jan 2017 21:42:54 +0200 Subject: [PATCH] test --- iguana/dpow/dpow_network.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index aba42df00..49044d443 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -153,7 +153,7 @@ int32_t signed_nn_recv(void **freeptrp,void *ctx,uint8_t notaries[64][33],int32_ { //for (i=0; i sizeof(*sigpacket) && sigpacket->packetlen == recvbytes-sizeof(*sigpacket) ) { @@ -903,7 +903,7 @@ int32_t dex_packetcheck(struct supernet_info *myinfo,struct dex_nanomsghdr *dexp int32_t dex_subsock_poll(struct supernet_info *myinfo) { int32_t size= -1; struct dex_nanomsghdr *dexp; void *freeptr; - fprintf(stderr,"subsock.%d\n",myinfo->subsock); + //fprintf(stderr,"subsock.%d\n",myinfo->subsock); if ( myinfo->subsock >= 0 && (size= signed_nn_recv(&freeptr,myinfo->ctx,myinfo->notaries,myinfo->numnotaries,myinfo->subsock,&dexp)) >= 0 ) { if ( dexp != 0 ) @@ -911,7 +911,7 @@ int32_t dex_subsock_poll(struct supernet_info *myinfo) printf("SUBSOCK.%08x recv.%d datalen.%d\n",dexp->crc32,size,dexp->datalen); if ( dex_packetcheck(myinfo,dexp,size) == 0 ) dex_packet(myinfo,dexp,size); - } else printf("size.%d\n",size); + } //else printf("size.%d\n",size); if ( freeptr != 0 ) nn_freemsg(freeptr), dexp = 0, freeptr = 0; }