From e543ef9753bf9bff2036c040e77e473ff680f5dc Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 8 Jan 2016 20:33:40 -0300 Subject: [PATCH] test --- iguana/iguana_peers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 91f7e12f6..0e92984ed 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -378,6 +378,7 @@ int32_t iguana_send(struct iguana_info *coin,struct iguana_peer *addr,uint8_t *s return(-1); if ( (numsent= (int32_t)send(usock,serialized,remains,MSG_NOSIGNAL)) < 0 ) { + printf("send errno.%d %s\n",errno,strerror(errno)); if ( errno != EAGAIN && errno != EWOULDBLOCK ) { printf("%s: %s numsent.%d vs remains.%d len.%d errno.%d (%s) usock.%d\n",serialized+4,addr->ipaddr,numsent,remains,len,errno,strerror(errno),addr->usock);