diff options
Diffstat (limited to 'src/main/extractor_ipc_w32.c')
-rw-r--r-- | src/main/extractor_ipc_w32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/extractor_ipc_w32.c b/src/main/extractor_ipc_w32.c index e8ed37d..69ceb1c 100644 --- a/src/main/extractor_ipc_w32.c +++ b/src/main/extractor_ipc_w32.c | |||
@@ -707,6 +707,9 @@ EXTRACTOR_IPC_channel_recv_ (struct EXTRACTOR_Channel **channels, | |||
707 | c++; | 707 | c++; |
708 | } | 708 | } |
709 | 709 | ||
710 | if (c == 0) | ||
711 | return 1; /* nothing left to do! */ | ||
712 | |||
710 | ms = 10000; | 713 | ms = 10000; |
711 | first_ready = WaitForMultipleObjects (c, events, FALSE, ms); | 714 | first_ready = WaitForMultipleObjects (c, events, FALSE, ms); |
712 | if (first_ready == WAIT_TIMEOUT || first_ready == WAIT_FAILED) | 715 | if (first_ready == WAIT_TIMEOUT || first_ready == WAIT_FAILED) |