From 08a2e10174bb2177b6ace8a1f0a69ed6dd8a8fe2 Mon Sep 17 00:00:00 2001 From: jl777 <mac@MacBook-Pro-Vladimir.local> Date: Fri, 7 Jul 2017 18:36:37 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index bbe2ad91f..d5440d4bf 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -92,7 +92,7 @@ int32_t LP_Qenqueued,LP_Qdequeued; void _LP_sendqueueadd(uint32_t crc32,int32_t sock,uint8_t *msg,int32_t msglen,int32_t peerind) { struct LP_queue *ptr; - if ( LP_Qenqueued == 0 ) + if ( LP_Qenqueued == 0 || IAMLP != 0 ) { ptr = calloc(1,sizeof(*ptr) + msglen); ptr->crc32 = crc32;