From: Chris Tallon Date: Sat, 30 Sep 2006 19:37:25 +0000 (+0000) Subject: Windows udp server fix X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=4b7d1110d0eea252eebd34cbb16d0b3528689dc7;p=vompclient-marten.git Windows udp server fix --- 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) {