Commit 5a9988c9 authored by Andreas Schmidt's avatar Andreas Schmidt

Add closing debug.

parent 4b4d6504
Pipeline #2770 passed with stages
in 4 minutes and 51 seconds
......@@ -324,6 +324,7 @@ int32_t PrrtSocket_receive_asap_wait(PrrtSocket *s, void *buf_ptr, struct sockad
do {
packet = PrrtPacketDeliveryStore_get_packet_wait(s->packetDeliveryStore);
if (PrrtSocket_closing(s)) {
debug(DEBUG_SOCKET, "Cancel asap_wait due to closing.");
return -1;
}
} while (!packet);
......
......@@ -14,7 +14,7 @@
#define DEBUG_PACKET 0
#define DEBUG_RECEIVER 0
#define DEBUG_SENDER 0
#define DEBUG_SOCKET 0
#define DEBUG_SOCKET 1
#define DEBUG_DATARECEIVER 0
#define DEBUG_CLEANUP 0
#define DEBUG_DATATRANSMITTER 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment