From 3ee560f97cd6b9fd4ae28adb14e3d079795c32e5 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 9 Sep 2017 19:05:55 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_socket.c b/iguana/exchanges/LP_socket.c index 98f8c75b0..aee3d0ffa 100644 --- a/iguana/exchanges/LP_socket.c +++ b/iguana/exchanges/LP_socket.c @@ -259,7 +259,7 @@ void LP_dedicatedloop(int32_t (*recvfunc)(char *ipaddr,char *str,int32_t len),ch { *sendstrp = 0; printf("sending.(%s)\n",str); - if ( LP_socketsend(sock,(uint8_t *)str,(int32_t)strlen(str)+1) <= 0 ) + if ( LP_socketsend(sock,(uint8_t *)str,(int32_t)strlen(str)) <= 0 ) { printf("%s:%u is dead\n",ipaddr,port); closesocket(sock);