gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6271 - GNUnet/src/applications/fs/gap


From: gnunet
Subject: [GNUnet-SVN] r6271 - GNUnet/src/applications/fs/gap
Date: Tue, 12 Feb 2008 22:46:57 -0700 (MST)

Author: grothoff
Date: 2008-02-12 22:46:57 -0700 (Tue, 12 Feb 2008)
New Revision: 6271

Modified:
   GNUnet/src/applications/fs/gap/gap.c
   GNUnet/src/applications/fs/gap/shared.c
Log:
fix

Modified: GNUnet/src/applications/fs/gap/gap.c
===================================================================
--- GNUnet/src/applications/fs/gap/gap.c        2008-02-13 04:55:10 UTC (rev 
6270)
+++ GNUnet/src/applications/fs/gap/gap.c        2008-02-13 05:46:57 UTC (rev 
6271)
@@ -407,8 +407,7 @@
                             BASE_REPLY_PRIORITY * (1 + rl->value),
                             MAX_GAP_DELAY);
           GNUNET_free (msg);
-          if ((rl->type != GNUNET_ECRS_BLOCKTYPE_DATA) &&
-              (rl->bloomfilter != NULL))
+          if (rl->type != GNUNET_ECRS_BLOCKTYPE_DATA) 
             GNUNET_FS_SHARED_mark_response_seen (rl, &hc);
           GNUNET_FS_PLAN_success (rid, NULL, rl->response_target, rl);
           value += rl->value;

Modified: GNUnet/src/applications/fs/gap/shared.c
===================================================================
--- GNUnet/src/applications/fs/gap/shared.c     2008-02-13 04:55:10 UTC (rev 
6270)
+++ GNUnet/src/applications/fs/gap/shared.c     2008-02-13 05:46:57 UTC (rev 
6271)
@@ -86,9 +86,7 @@
                                           const DBlock * data,
                                           GNUNET_HashCode * hc)
 {
-#if 0
   struct ResponseList *seen;
-#endif
   GNUNET_HashCode m;
   int ret;
 
@@ -114,7 +112,6 @@
   if ((rl->bloomfilter != NULL) &&
       (GNUNET_YES == GNUNET_bloomfilter_test (rl->bloomfilter, &m)))
     return GNUNET_NO;           /* not useful */    
-#if 0
   /* bloomfilter should cover these already */
   seen = rl->responses;
   while (seen != NULL)
@@ -123,7 +120,6 @@
        return GNUNET_NO;       
       seen = seen->next;
     }
-#endif
   return GNUNET_OK;
 }
 





reply via email to

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