aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_mx_lookup.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-28 00:47:17 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-06-28 00:47:17 +0000
commit146d71432ed366ccd3e576f4b3e261ace67cf757 (patch)
tree23d1bc94cfabd932a860c1b7a465a383dc96101b /src/gns/test_gns_simple_mx_lookup.c
parente5b1e32c9b441c00fbd7aed2a060583388bdd441 (diff)
downloadgnunet-146d71432ed366ccd3e576f4b3e261ace67cf757.tar.gz
gnunet-146d71432ed366ccd3e576f4b3e261ace67cf757.zip
-big commit, make new ns and valgrind happy
Diffstat (limited to 'src/gns/test_gns_simple_mx_lookup.c')
-rw-r--r--src/gns/test_gns_simple_mx_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/test_gns_simple_mx_lookup.c b/src/gns/test_gns_simple_mx_lookup.c
index 0d4949a95..8648d3f16 100644
--- a/src/gns/test_gns_simple_mx_lookup.c
+++ b/src/gns/test_gns_simple_mx_lookup.c
@@ -97,6 +97,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
97 uint16_t mx_preference; 97 uint16_t mx_preference;
98 char* mx; 98 char* mx;
99 99
100 GNUNET_NAMESTORE_disconnect (namestore_handle);
100 if (rd_count == 0) 101 if (rd_count == 0)
101 { 102 {
102 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 103 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -140,7 +141,6 @@ on_lookup_result(void *cls, uint32_t rd_count,
140static void 141static void
141commence_testing (void *cls, int32_t success, const char *emsg) 142commence_testing (void *cls, int32_t success, const char *emsg)
142{ 143{
143 GNUNET_NAMESTORE_disconnect (namestore_handle);
144 144
145 gns_handle = GNUNET_GNS_connect(cfg); 145 gns_handle = GNUNET_GNS_connect(cfg);
146 146