[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23680 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23680 - gnunet/src/gns |
Date: |
Thu, 6 Sep 2012 18:20:00 +0200 |
Author: schanzen
Date: 2012-09-06 18:20:00 +0200 (Thu, 06 Sep 2012)
New Revision: 23680
Modified:
gnunet/src/gns/gns_api.c
gnunet/src/gns/test_gns_dht_three_peers.c
Log:
-fix to api
Modified: gnunet/src/gns/gns_api.c
===================================================================
--- gnunet/src/gns/gns_api.c 2012-09-06 16:07:45 UTC (rev 23679)
+++ gnunet/src/gns/gns_api.c 2012-09-06 16:20:00 UTC (rev 23680)
@@ -261,6 +261,7 @@
"Trying to connect to GNS...\n");
h->client = GNUNET_CLIENT_connect ("gns", h->cfg);
GNUNET_assert (NULL != h->client);
+ process_pending_messages (h);
}
/**
Modified: gnunet/src/gns/test_gns_dht_three_peers.c
===================================================================
--- gnunet/src/gns/test_gns_dht_three_peers.c 2012-09-06 16:07:45 UTC (rev
23679)
+++ gnunet/src/gns/test_gns_dht_three_peers.c 2012-09-06 16:20:00 UTC (rev
23680)
@@ -40,7 +40,7 @@
#include "gnunet_dnsparser_lib.h"
#include "gnunet_gns_service.h"
-#define ZONE_PUT_WAIT_TIME
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30)
+#define ZONE_PUT_WAIT_TIME
GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 10)
/* If number of peers not in config file, use this number */
#define DEFAULT_NUM_PEERS 2
@@ -134,7 +134,6 @@
}
GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Test failed \n");
- GNUNET_break (0);
GNUNET_SCHEDULER_shutdown ();
ok = 1;
}
@@ -502,6 +501,12 @@
else
res = setup_alice (pinfo->result.cfg);
+ if (get_cfg_ops[0] == op)
+ get_cfg_ops[0] = NULL;
+ else if (get_cfg_ops[1] == op)
+ get_cfg_ops[1] = NULL;
+ else
+ get_cfg_ops[2] = NULL;
GNUNET_TESTBED_operation_done (op);
op = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "A \n");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23680 - gnunet/src/gns,
gnunet <=