Hi,

I'd like to suggest this:

Index: src/applications/fs/tools/gnunet-search.c
===================================================================
--- src/applications/fs/tools/gnunet-search.c   (revision 8235)
+++ src/applications/fs/tools/gnunet-search.c   (working copy)
@@ -103,6 +103,7 @@
         printf ("gnunet-download %s\n", uri);
       printMeta (event->data.SearchResult.fi.meta);
       printf ("\n");
+      fflush(stdout);
       GNUNET_free_non_null (filename);
       GNUNET_free (uri);

Change is small and probably won't break anything.
It is very helpful when piping gnunet-search results to another process
or just redirecting output to file.

br,
yunta


_______________________________________________
GNUnet-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-developers

Reply via email to