diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-15 20:49:48 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-15 20:49:48 +0200 |
commit | 4eec0dd297264a6dfadd8ae8a1b89438a54d5648 (patch) | |
tree | 4dad0693e75b4a6d8ab23e3bd665aa3c94fe7745 | |
parent | d9d073c66b49b91403484e081eda39d4e5c17cc2 (diff) | |
download | libextractor-4eec0dd297264a6dfadd8ae8a1b89438a54d5648.tar.gz libextractor-4eec0dd297264a6dfadd8ae8a1b89438a54d5648.zip |
handle IPC_shared_memory_set_ error
-rw-r--r-- | src/main/extractor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c index c35ebd8..11ace46 100644 --- a/src/main/extractor.c +++ b/src/main/extractor.c | |||
@@ -393,6 +393,8 @@ do_extract (struct EXTRACTOR_PluginList *plugins, | |||
393 | DEFAULT_SHM_SIZE); | 393 | DEFAULT_SHM_SIZE); |
394 | else | 394 | else |
395 | ready = 0; | 395 | ready = 0; |
396 | if (-1 == ready) | ||
397 | return; /* failed to ready _any_ data!? */ | ||
396 | have_in_memory = 0; | 398 | have_in_memory = 0; |
397 | prp.file_finished = 0; | 399 | prp.file_finished = 0; |
398 | prp.proc = proc; | 400 | prp.proc = proc; |