gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r30519 - gnunet/src/gnsrecord


From: gnunet
Subject: [GNUnet-SVN] r30519 - gnunet/src/gnsrecord
Date: Tue, 5 Nov 2013 12:15:31 +0100

Author: grothoff
Date: 2013-11-05 12:15:31 +0100 (Tue, 05 Nov 2013)
New Revision: 30519

Modified:
   gnunet/src/gnsrecord/gnsrecord_crypto.c
Log:
-handle PENDING

Modified: gnunet/src/gnsrecord/gnsrecord_crypto.c
===================================================================
--- gnunet/src/gnsrecord/gnsrecord_crypto.c     2013-11-05 11:15:11 UTC (rev 
30518)
+++ gnunet/src/gnsrecord/gnsrecord_crypto.c     2013-11-05 11:15:31 UTC (rev 
30519)
@@ -240,6 +240,8 @@
       j = 0;
       for (i=0;i<rd_count;i++)
       {
+        if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_PENDING))
+          continue; /* PENDING should never be used */
         if (0 != (rd[i].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION))
         {
           /* encrypted blocks must never have relative expiration times, skip! 
*/




reply via email to

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