[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23140 - Extractor/src/main
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23140 - Extractor/src/main |
Date: |
Mon, 6 Aug 2012 13:53:24 +0200 |
Author: grothoff
Date: 2012-08-06 13:53:24 +0200 (Mon, 06 Aug 2012)
New Revision: 23140
Modified:
Extractor/src/main/extractor.c
Log:
re-seek to beginning for in-memory runs
Modified: Extractor/src/main/extractor.c
===================================================================
--- Extractor/src/main/extractor.c 2012-08-06 11:49:02 UTC (rev 23139)
+++ Extractor/src/main/extractor.c 2012-08-06 11:53:24 UTC (rev 23140)
@@ -564,11 +564,6 @@
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))
- {
- LOG ("Failed to seek to 0 for in-memory plugins\n");
- return;
- }
for (pos = plugins; NULL != pos; pos = pos->next)
{
if (EXTRACTOR_OPTION_IN_PROCESS != pos->flags)
@@ -577,6 +572,11 @@
continue;
ctx.plugin = pos;
ec.config = pos->plugin_options;
+ if (-1 == EXTRACTOR_datasource_seek_ (ds, 0, SEEK_SET))
+ {
+ LOG ("Failed to seek to 0 for in-memory plugins\n");
+ return;
+ }
pos->extract_method (&ec);
if (1 == ctx.finished)
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23140 - Extractor/src/main,
gnunet <=