Author: grothoff Date: 2008-02-24 21:44:54 -0700 (Sun, 24 Feb 2008) New Revision: 6448
Modified: GNUnet/src/applications/fs/fsui/searchtest.c Log: verb Modified: GNUnet/src/applications/fs/fsui/searchtest.c =================================================================== --- GNUnet/src/applications/fs/fsui/searchtest.c 2008-02-25 04:42:06 UTC (rev 6447) +++ GNUnet/src/applications/fs/fsui/searchtest.c 2008-02-25 04:44:54 UTC (rev 6448) @@ -28,6 +28,8 @@ #include "gnunet_util.h" #include "gnunet_fsui_lib.h" +#define CHECK_VERBOSE GNUNET_NO + #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto FAILURE; } static char * @@ -78,17 +80,25 @@ GNUNET_mutex_unlock (lock); return &unused; case GNUNET_FSUI_search_result: +#if CHECK_VERBOSE printf ("Received search result\n"); +#endif uri = GNUNET_ECRS_uri_duplicate (event->data.SearchResult.fi.uri); break; case GNUNET_FSUI_upload_completed: +#if CHECK_VERBOSE printf ("Upload complete.\n"); +#endif break; case GNUNET_FSUI_download_completed: +#if CHECK_VERBOSE printf ("Download complete.\n"); +#endif break; case GNUNET_FSUI_unindex_completed: +#if CHECK_VERBOSE printf ("Unindex complete.\n"); +#endif break; case GNUNET_FSUI_upload_error: printf ("Upload error.\n"); _______________________________________________ GNUnet-SVN mailing list GNUnet-SVN@gnu.org http://lists.gnu.org/mailman/listinfo/gnunet-svn