[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23078 - Extractor/src/main
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23078 - Extractor/src/main |
Date: |
Sat, 4 Aug 2012 00:35:36 +0200 |
Author: LRN
Date: 2012-08-04 00:35:36 +0200 (Sat, 04 Aug 2012)
New Revision: 23078
Modified:
Extractor/src/main/extractor.c
Log:
Fix (somewhat) in-process plugin handling
Modified: Extractor/src/main/extractor.c
===================================================================
--- Extractor/src/main/extractor.c 2012-08-03 22:35:32 UTC (rev 23077)
+++ Extractor/src/main/extractor.c 2012-08-03 22:35:36 UTC (rev 23078)
@@ -517,10 +517,15 @@
ec.seek = &in_process_seek;
ec.get_size = &in_process_get_size;
ec.proc = &in_process_proc;
+ if (-1 == EXTRACTOR_datasource_seek_ (ds, 0, SEEK_SET))
+ return;
+
for (pos = plugins; NULL != pos; pos = pos->next)
{
if (EXTRACTOR_OPTION_IN_PROCESS != pos->flags)
continue;
+ if (-1 == EXTRACTOR_plugin_load_ (pos))
+ continue;
ctx.plugin = pos;
ec.config = pos->plugin_options;
pos->extract_method (&ec);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23078 - Extractor/src/main,
gnunet <=