From 4b7d1110d0eea252eebd34cbb16d0b3528689dc7 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 30 Sep 2006 19:37:25 +0000 Subject: [PATCH] Windows udp server fix --- udp.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/udp.cc b/udp.cc index 08a9d7b..2ff6c56 100755 --- a/udp.cc +++ b/udp.cc @@ -77,9 +77,12 @@ void UDP::threadMethod() int retval; while(1) { - log->log("UDP", Log::DEBUG, "Starting wait"); + #ifndef WIN32 retval = ds->waitforMessage(0); - log->log("UDP", Log::DEBUG, "Wait finished"); + #else + threadCheckExit(); + retval = ds->waitforMessage(1); + #endif if (retval == 0) { -- 2.39.5