gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libextractor] 21/27: handle IPC_shared_memory_set_ error


From: gnunet
Subject: [GNUnet-SVN] [libextractor] 21/27: handle IPC_shared_memory_set_ error
Date: Sun, 15 Oct 2017 21:34:45 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libextractor.

commit 4eec0dd297264a6dfadd8ae8a1b89438a54d5648
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 15 20:49:48 2017 +0200

    handle IPC_shared_memory_set_ error
---
 src/main/extractor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/extractor.c b/src/main/extractor.c
index c35ebd8d..11ace464 100644
--- a/src/main/extractor.c
+++ b/src/main/extractor.c
@@ -393,6 +393,8 @@ do_extract (struct EXTRACTOR_PluginList *plugins,
                                               DEFAULT_SHM_SIZE);
   else
     ready = 0;
+  if (-1 == ready)
+    return; /* failed to ready _any_ data!? */
   have_in_memory = 0;
   prp.file_finished = 0;
   prp.proc = proc;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]