Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 8f229935 authored by deuce's avatar deuce

Return timeout, not success on Win32 if a timeout occurs.

parent 2169737e
......@@ -315,7 +315,8 @@ tODResult ODInQueueGetNextEvent(tODInQueueHandle hInQueue,
/* this thread to be blocked until an event is added to the queue, if it */
/* is currently empty. */
ODSemaphoreDown(pInputQueueInfo->hItemCountSemaphore, Timeout);
if(ODSemaphoreDown(pInputQueueInfo->hItemCountSemaphore, Timeout)==kODRCTimeout)
return(kODRCTimeout);
#else /* !OD_MULTITHREADED */
......
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