gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6766 - GNUnet/src/applications/fs/ecrs


From: gnunet
Subject: [GNUnet-SVN] r6766 - GNUnet/src/applications/fs/ecrs
Date: Sat, 26 Apr 2008 22:51:06 -0600 (MDT)

Author: grothoff
Date: 2008-04-26 22:51:05 -0600 (Sat, 26 Apr 2008)
New Revision: 6766

Modified:
   GNUnet/src/applications/fs/ecrs/searchtest.c
Log:
force timeout

Modified: GNUnet/src/applications/fs/ecrs/searchtest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/searchtest.c        2008-04-26 16:00:52 UTC 
(rev 6765)
+++ GNUnet/src/applications/fs/ecrs/searchtest.c        2008-04-27 04:51:05 UTC 
(rev 6766)
@@ -31,9 +31,13 @@
 
 #define CHECK(a) if (!(a)) { ok = GNUNET_NO; GNUNET_GE_BREAK(NULL, 0); goto 
FAILURE; }
 
+static unsigned int app_killer;
+
 static int
 testTerminate (void *unused)
 {
+  if (app_killer++ > 10000)
+    return GNUNET_SYSERR;
   return GNUNET_OK;
 }
 





reply via email to

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