From 1a6d96a1161639aba5340de063300ccc92bea41b Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 3 Nov 2016 09:07:27 -0300 Subject: [PATCH] test --- iguana/iguana_msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_msg.c b/iguana/iguana_msg.c index 122404dd9..d8afdf7cd 100755 --- a/iguana/iguana_msg.c +++ b/iguana/iguana_msg.c @@ -953,7 +953,7 @@ int32_t iguana_msgparser(struct supernet_info *myinfo,struct iguana_info *coin,s retval = 0; if ( (ishost= (strcmp(H->command,"getblocks") == 0)) || strcmp(H->command,"block") == 0 ) { - if ( addr != 0 && rawmem->ptr != 0 ) + if ( 0 && addr != 0 && rawmem->ptr != 0 ) { struct iguana_txblock txdata; iguana_memreset(rawmem), iguana_memreset(txmem); @@ -1010,7 +1010,7 @@ int32_t iguana_msgparser(struct supernet_info *myinfo,struct iguana_info *coin,s { struct iguana_msgzblock zmsg; struct iguana_msgblock *msg = (void *)&zmsg; struct iguana_zblock *zblocks; uint32_t tmp,n=0; len = 0; - if ( 0 && addr != 0 && recvlen >= sizeof(bits256) && strcmp("RELAY",coin->symbol) != 0 ) + if ( addr != 0 && recvlen >= sizeof(bits256) && strcmp("RELAY",coin->symbol) != 0 ) { if ( ishost == 0 ) {