[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r6846 - GNUnet/src/applications/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r6846 - GNUnet/src/applications/datastore |
Date: |
Sun, 18 May 2008 22:55:35 -0600 (MDT) |
Author: grothoff
Date: 2008-05-18 22:55:35 -0600 (Sun, 18 May 2008)
New Revision: 6846
Modified:
GNUnet/src/applications/datastore/datastore.c
Log:
need to reserve priority zero for anything goes
Modified: GNUnet/src/applications/datastore/datastore.c
===================================================================
--- GNUnet/src/applications/datastore/datastore.c 2008-05-19 04:55:17 UTC
(rev 6845)
+++ GNUnet/src/applications/datastore/datastore.c 2008-05-19 04:55:35 UTC
(rev 6846)
@@ -96,8 +96,8 @@
GNUNET_Int32Time now;
GNUNET_get_time_int32 (&now);
if (db_creation_time < now)
- return 0;
- return (db_creation_time - now) / 60 / 60 / 24 / 30;
+ return 1;
+ return 1 + (db_creation_time - now) / 60 / 60 / 24 / 30;
}
static unsigned long long
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r6846 - GNUnet/src/applications/datastore,
gnunet <=