gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13752 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r13752 - gnunet/src/testing
Date: Fri, 19 Nov 2010 15:44:51 +0100

Author: nevans
Date: 2010-11-19 15:44:50 +0100 (Fri, 19 Nov 2010)
New Revision: 13752

Modified:
   gnunet/src/testing/testing.c
Log:
possible fix for timing issue (causing missed peer connect events) in testing

Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c        2010-11-19 12:59:50 UTC (rev 13751)
+++ gnunet/src/testing/testing.c        2010-11-19 14:44:50 UTC (rev 13752)
@@ -1412,6 +1412,7 @@
           GNUNET_CORE_disconnect (ctx->d1core);
           ctx->d1core = NULL;
         }
+      ctx->d1core_ready = GNUNET_NO;
 #if CONNECT_CORE2
       if (ctx->d2core != NULL)
         {
@@ -1696,14 +1697,10 @@
 #endif
 
   GNUNET_assert (ctx->d1core == NULL);
-
+  ctx->d1core_ready = GNUNET_NO;
   ctx->d1core = GNUNET_CORE_connect (ctx->d1->cfg, 1,
-#if NO_MORE_TIMEOUT_FIXME
-                                     GNUNET_TIME_absolute_get_remaining
-                                     (ctx->timeout),
-#endif
                                      ctx,
-                                     NULL,
+                                     &core_init_notify,
                                      &connect_notify, NULL, NULL,
                                      NULL, GNUNET_NO,
                                      NULL, GNUNET_NO, no_handlers);




reply via email to

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