gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13980 - gnunet/src/arm


From: gnunet
Subject: [GNUnet-SVN] r13980 - gnunet/src/arm
Date: Tue, 21 Dec 2010 15:11:07 +0100

Author: grothoff
Date: 2010-12-21 15:11:07 +0100 (Tue, 21 Dec 2010)
New Revision: 13980

Modified:
   gnunet/src/arm/test_exponential_backoff.c
Log:
fix

Modified: gnunet/src/arm/test_exponential_backoff.c
===================================================================
--- gnunet/src/arm/test_exponential_backoff.c   2010-12-21 14:08:04 UTC (rev 
13979)
+++ gnunet/src/arm/test_exponential_backoff.c   2010-12-21 14:11:07 UTC (rev 
13980)
@@ -360,12 +360,9 @@
     }
   /* Connect to the doNothing task */
   doNothingConnection = GNUNET_CLIENT_connect ("do-nothing", cfg);
-#if LOG_BACKOFF
-  if (NULL == doNothingConnection)
-    fprintf(killLogFilePtr, 
-           "Unable to connect to do-nothing process!\n");
-#endif  
+  GNUNET_assert (doNothingConnection != NULL);
   if (trialCount == 12) {
+    GNUNET_CLIENT_disconnect (doNothingConnection, GNUNET_NO);
     GNUNET_ARM_stop_service (arm, 
                             "do-nothing", 
                             TIMEOUT,
@@ -373,7 +370,6 @@
     ok = 0;
     return;
   }
-  
   /* Use the created connection to kill the doNothingTask */
   arm_service_shutdown(doNothingConnection,
                       TIMEOUT, 




reply via email to

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