diff options
-rw-r--r-- | src/main/extractor_ipc_w32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/extractor_ipc_w32.c b/src/main/extractor_ipc_w32.c index 69ceb1c..5c9947b 100644 --- a/src/main/extractor_ipc_w32.c +++ b/src/main/extractor_ipc_w32.c | |||
@@ -736,6 +736,8 @@ EXTRACTOR_IPC_channel_recv_ (struct EXTRACTOR_Channel **channels, | |||
736 | channels[i]->data, channels[i]->size + bytes_read, proc, proc_cls); | 736 | channels[i]->data, channels[i]->size + bytes_read, proc, proc_cls); |
737 | if (!bresult || -1 == ret) | 737 | if (!bresult || -1 == ret) |
738 | { | 738 | { |
739 | DWORD error = GetLastError (); | ||
740 | SetErrnoFromWinError (error); | ||
739 | if (!bresult) | 741 | if (!bresult) |
740 | LOG_STRERROR ("ReadFile"); | 742 | LOG_STRERROR ("ReadFile"); |
741 | EXTRACTOR_IPC_channel_destroy_ (channels[i]); | 743 | EXTRACTOR_IPC_channel_destroy_ (channels[i]); |