[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23001 - Extractor/src/main
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23001 - Extractor/src/main |
Date: |
Tue, 31 Jul 2012 00:47:24 +0200 |
Author: grothoff
Date: 2012-07-31 00:47:24 +0200 (Tue, 31 Jul 2012)
New Revision: 23001
Modified:
Extractor/src/main/extractor.c
Extractor/src/main/extractor_plugin_main.c
Extractor/src/main/test_ipc.c
Log:
stuff
Modified: Extractor/src/main/extractor.c
===================================================================
--- Extractor/src/main/extractor.c 2012-07-30 22:38:26 UTC (rev 23000)
+++ Extractor/src/main/extractor.c 2012-07-30 22:47:24 UTC (rev 23001)
@@ -258,7 +258,10 @@
plugin_count = 0;
for (pos = plugins; NULL != pos; pos = pos->next)
{
- channels[plugin_count] = pos->channel;
+ if (-1 != pos->seek_request)
+ channels[plugin_count] = pos->channel;
+ else
+ channels[plugin_count] = NULL; /* not running this round, seeking!
*/
plugin_count++;
}
Modified: Extractor/src/main/extractor_plugin_main.c
===================================================================
--- Extractor/src/main/extractor_plugin_main.c 2012-07-30 22:38:26 UTC (rev
23000)
+++ Extractor/src/main/extractor_plugin_main.c 2012-07-30 22:47:24 UTC (rev
23001)
@@ -96,7 +96,7 @@
/**
- * Moves current absolute buffer position to @pos in @whence mode.
+ * Moves current absolute buffer position to 'pos' in 'whence' mode.
* Will move logical position withouth shifting the buffer, if possible.
* Will not move beyond the end of file.
*
Modified: Extractor/src/main/test_ipc.c
===================================================================
--- Extractor/src/main/test_ipc.c 2012-07-30 22:38:26 UTC (rev 23000)
+++ Extractor/src/main/test_ipc.c 2012-07-30 22:47:24 UTC (rev 23001)
@@ -94,6 +94,7 @@
"Hello world!",
strlen ("Hello world!"))) )
{
+ fprintf (stderr, "Received 'hello world'\n");
ret = 1;
return 0;
}
@@ -103,6 +104,7 @@
"Goodbyte!",
strlen ("Goodbye!"))) )
{
+ fprintf (stderr, "Received 'good bye'\n");
ret = 0;
return 1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23001 - Extractor/src/main,
gnunet <=