gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23790 - gnunet/src/testbed


From: gnunet
Subject: [GNUnet-SVN] r23790 - gnunet/src/testbed
Date: Fri, 14 Sep 2012 13:31:43 +0200

Author: harsha
Date: 2012-09-14 13:31:43 +0200 (Fri, 14 Sep 2012)
New Revision: 23790

Modified:
   gnunet/src/testbed/gnunet-service-testbed.c
Log:
removed OCC state

Modified: gnunet/src/testbed/gnunet-service-testbed.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed.c 2012-09-14 11:24:58 UTC (rev 
23789)
+++ gnunet/src/testbed/gnunet-service-testbed.c 2012-09-14 11:31:43 UTC (rev 
23790)
@@ -324,29 +324,6 @@
 
 
 /**
- * State information for overlay connect context
- */
-enum OCCState
-{
-    /**
-     * Initial state
-     */
-  OCC_STATE_INIT,
-
-    /**
-     * Peer 1 has connected to peer0
-     */
-  OCC_STATE_PEER0_SUCCESS,
-
-    /**
-     * Peer 2 has connected to peer1
-     */
-  OCC_STATE_PEER1_SUCCESS,
-
-};
-
-
-/**
  * Context information for connecting 2 peers in overlay
  */
 struct OverlayConnectContext
@@ -422,12 +399,6 @@
    */
   GNUNET_SCHEDULER_TaskIdentifier timeout_task;
 
-  /**
-   * State information for determining whose HELLOs have been successfully
-   * exchanged
-   */
-  enum OCCState state;
-
 };
 
 
@@ -2235,7 +2206,6 @@
   occ = GNUNET_malloc (sizeof (struct OverlayConnectContext));
   GNUNET_SERVER_client_keep (client);
   occ->client = client;
-  occ->state = OCC_STATE_INIT;
   occ->peer = peer_list[p1];
   occ->other_peer = peer_list[p2];
   occ->op_id = GNUNET_ntohll (msg->operation_id);




reply via email to

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