From be117b86e4d03b0d3c324b8e88c943b43489abf0 Mon Sep 17 00:00:00 2001
From: Timothe Jost <timothe.jost@wanadoo.fr>
Date: Thu, 4 Jul 2024 12:21:59 +0200
Subject: [PATCH] printing message when upd thread stops

---
 sources/src/functions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sources/src/functions.c b/sources/src/functions.c
index da34170..a6ed291 100644
--- a/sources/src/functions.c
+++ b/sources/src/functions.c
@@ -226,6 +226,7 @@ void *readUdp(void *arg)
 
         if (SHOULD_EXIT && PROXY_INIT_COMPLETE)
         {
+            printf("Exiting readUdp loop due to should_exit flag.\n");
             break;
         }
     }
-- 
GitLab