aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_stop.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-25 22:36:56 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-25 22:36:56 +0000
commitee0de607e52152c03a865559422dad4faacad53d (patch)
tree1a0c4beb6e5c311c4200dc736325485543ac944f /src/namestore/test_namestore_api_zone_iteration_stop.c
parentf5f5d0877b5598ff90ff9ebeaa5fa63da929f132 (diff)
downloadgnunet-ee0de607e52152c03a865559422dad4faacad53d.tar.gz
gnunet-ee0de607e52152c03a865559422dad4faacad53d.zip
trying to fix #2458, largely works
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_stop.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_stop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c
index 732550acd..4974875d1 100644
--- a/src/namestore/test_namestore_api_zone_iteration_stop.c
+++ b/src/namestore/test_namestore_api_zone_iteration_stop.c
@@ -88,7 +88,7 @@ endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
88 stopiteration_task = GNUNET_SCHEDULER_NO_TASK; 88 stopiteration_task = GNUNET_SCHEDULER_NO_TASK;
89 } 89 }
90 if (nsh != NULL) 90 if (nsh != NULL)
91 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 91 GNUNET_NAMESTORE_disconnect (nsh);
92 nsh = NULL; 92 nsh = NULL;
93 GNUNET_free_non_null(sig_1); 93 GNUNET_free_non_null(sig_1);
94 GNUNET_free_non_null(sig_2); 94 GNUNET_free_non_null(sig_2);
@@ -165,7 +165,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
165 GNUNET_free (s_rd_3); 165 GNUNET_free (s_rd_3);
166 } 166 }
167 if (nsh != NULL) 167 if (nsh != NULL)
168 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 168 GNUNET_NAMESTORE_disconnect (nsh);
169 nsh = NULL; 169 nsh = NULL;
170 if (returned_records == 1) 170 if (returned_records == 1)
171 res = 0; 171 res = 0;