Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
cecde42e98
  1. 2
      iguana/iguana_msg.c

2
iguana/iguana_msg.c

@ -436,7 +436,7 @@ int32_t iguana_parser(struct iguana_info *coin,struct iguana_peer *addr,struct O
iguana_send_supernet(coin,addr,retstr,delay); iguana_send_supernet(coin,addr,retstr,delay);
free(retstr); free(retstr);
} }
printf("GOT.(%s) len.%d from %s -> (%s)\n",H->command,recvlen,addr->ipaddr,retstr==0?"null":retstr); printf("GOT.(%s) [%s] len.%d from %s -> (%s)\n",H->command,data,recvlen,addr->ipaddr,retstr==0?"null":retstr);
} }
else if ( strcmp(H->command,"version") == 0 ) else if ( strcmp(H->command,"version") == 0 )
{ {

Loading…
Cancel
Save