gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r6814 - GNUnet/src/applications/fs/fsui


From: gnunet
Subject: [GNUnet-SVN] r6814 - GNUnet/src/applications/fs/fsui
Date: Mon, 12 May 2008 14:36:24 -0600 (MDT)

Author: grothoff
Date: 2008-05-12 14:36:15 -0600 (Mon, 12 May 2008)
New Revision: 6814

Modified:
   GNUnet/src/applications/fs/fsui/search.c
Log:
fixed

Modified: GNUnet/src/applications/fs/fsui/search.c
===================================================================
--- GNUnet/src/applications/fs/fsui/search.c    2008-05-12 20:34:50 UTC (rev 
6813)
+++ GNUnet/src/applications/fs/fsui/search.c    2008-05-12 20:36:15 UTC (rev 
6814)
@@ -73,12 +73,6 @@
   ctx->ctx->ecb (ctx->ctx->ecbClosure, &event);
 }
 
-void
-bug ()
-{
-  abort ();
-}
-
 /**
  * Process results found by ECRS.
  */
@@ -133,7 +127,6 @@
             {
               GNUNET_GE_BREAK (NULL, 0);
               GNUNET_mutex_unlock (pos->lock);
-              bug ();
               return GNUNET_OK; /* should have matching search */
             }
           GNUNET_array_append (srl->matchingSearches,
@@ -178,7 +171,6 @@
     {
       GNUNET_GE_BREAK (NULL, 0);
       GNUNET_mutex_unlock (pos->lock);
-      bug ();
       return GNUNET_OK;         /* should have matching search */
     }
   srl = GNUNET_malloc (sizeof (struct SearchResultList));
@@ -229,7 +221,7 @@
   struct SearchRecordList *srl;
 
 #if DEBUG_SEARCH
-  fprintf (stderr, "Starting search for `%s' (%d)\n", keyword, is_mandatory);
+  fprintf (stderr, "Starting search for `%s' (%d): %s\n", keyword, 
is_mandatory);
 #endif
   srl = GNUNET_malloc (sizeof (struct SearchRecordList));
   memset (srl, 0, sizeof (struct SearchRecordList));





reply via email to

[Prev in Thread] Current Thread [Next in Thread]