gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r5350 - in GNUnet/src: applications/fs/module include


From: gnunet
Subject: [GNUnet-SVN] r5350 - in GNUnet/src: applications/fs/module include
Date: Tue, 24 Jul 2007 09:16:56 -0600 (MDT)

Author: grothoff
Date: 2007-07-24 09:16:56 -0600 (Tue, 24 Jul 2007)
New Revision: 5350

Modified:
   GNUnet/src/applications/fs/module/fs.c
   GNUnet/src/include/gnunet_util_threads.h
Log:
no assertion failure if DB is just down

Modified: GNUnet/src/applications/fs/module/fs.c
===================================================================
--- GNUnet/src/applications/fs/module/fs.c      2007-07-24 08:12:16 UTC (rev 
5349)
+++ GNUnet/src/applications/fs/module/fs.c      2007-07-24 15:16:56 UTC (rev 
5350)
@@ -219,6 +219,8 @@
   else
     ret = OK;
   FREE (dv);
+  if (ret == SYSERR)
+    ret = NO; /* error in put != content invalid! */
   return ret;
 }
 

Modified: GNUnet/src/include/gnunet_util_threads.h
===================================================================
--- GNUnet/src/include/gnunet_util_threads.h    2007-07-24 08:12:16 UTC (rev 
5349)
+++ GNUnet/src/include/gnunet_util_threads.h    2007-07-24 15:16:56 UTC (rev 
5350)
@@ -63,7 +63,7 @@
  * reporting that there maybe a problem?  Set to
  * zero to disable reporting.
  */
-#define REALTIME_LIMIT (000 * cronMILLIS)
+#define REALTIME_LIMIT (1000 * cronMILLIS)
 
 /**
  * Main method of a thread.





reply via email to

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