[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23650 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23650 - gnunet/src/gns |
Date: |
Wed, 5 Sep 2012 10:33:14 +0200 |
Author: wachs
Date: 2012-09-05 10:33:14 +0200 (Wed, 05 Sep 2012)
New Revision: 23650
Modified:
gnunet/src/gns/test_gns_dht_three_peers.c
Log:
more
Modified: gnunet/src/gns/test_gns_dht_three_peers.c
===================================================================
--- gnunet/src/gns/test_gns_dht_three_peers.c 2012-09-05 08:28:30 UTC (rev
23649)
+++ gnunet/src/gns/test_gns_dht_three_peers.c 2012-09-05 08:33:14 UTC (rev
23650)
@@ -153,9 +153,7 @@
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Test successful \n");
- GNUNET_break (0);
GNUNET_SCHEDULER_shutdown ();
- ok = 0;
}
static void
@@ -342,7 +340,6 @@
GNUNET_free(keyfile);
GNUNET_free(web);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up dave done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[0]);
return GNUNET_OK;
}
@@ -403,7 +400,6 @@
GNUNET_CRYPTO_rsa_key_free(key);
GNUNET_free(keyfile);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up bob done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[1]);
return GNUNET_OK;
}
@@ -469,7 +465,6 @@
GNUNET_CRYPTO_rsa_key_free (key);
GNUNET_free (keyfile);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Setting up alice done\n");
- //GNUNET_TESTBED_operation_done (get_cfg_ops[2]);
return GNUNET_OK;
}
@@ -507,13 +502,13 @@
static int connections = 0;
int res;
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback of type: %u %p \n",
event->type, cls);
switch (event->type)
{
case GNUNET_TESTBED_ET_OPERATION_FINISHED:
if (get_cfg_ops[0] == event->details.operation_finished.operation)
{
res = setup_dave (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[0]);
get_cfg_ops[0] = NULL;
if (GNUNET_SYSERR == res)
{
@@ -528,6 +523,7 @@
else if (get_cfg_ops[1] == event->details.operation_finished.operation)
{
res = setup_bob (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[1]);
get_cfg_ops[1] = NULL;
if (GNUNET_SYSERR == res)
{
@@ -542,6 +538,7 @@
else if (get_cfg_ops[2] == event->details.operation_finished.operation)
{
res = setup_alice (event->details.operation_finished.op_result.cfg);
+ GNUNET_TESTBED_operation_done (get_cfg_ops[2]);
get_cfg_ops[2] = NULL;
if (GNUNET_SYSERR == res)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23650 - gnunet/src/gns,
gnunet <=