diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-05 23:18:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-05 23:18:00 +0200 |
commit | 645b26ba88218c4a2f9a022968a8c03e9035082d (patch) | |
tree | 7a32403fdd32c4f1b01ddc78de920f4b01bd7d9b /src/namestore/test_namestore_api_monitoring.c | |
parent | 04a5c505163a84f8a7097dc7b32cf8051c74c214 (diff) | |
download | gnunet-645b26ba88218c4a2f9a022968a8c03e9035082d.tar.gz gnunet-645b26ba88218c4a2f9a022968a8c03e9035082d.zip |
update namestore monitor API users to use new _next call where needed
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c index f6d4fe226..cd38b2c80 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/namestore/test_namestore_api_monitoring.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2013 GNUnet e.V. | 3 | Copyright (C) 2013, 2018 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -192,7 +192,8 @@ zone_proc (void *cls, | |||
192 | GNUNET_break (0); | 192 | GNUNET_break (0); |
193 | fail = GNUNET_YES; | 193 | fail = GNUNET_YES; |
194 | } | 194 | } |
195 | 195 | GNUNET_NAMESTORE_zone_monitor_next (zm, | |
196 | 1); | ||
196 | if (2 == ++returned_records) | 197 | if (2 == ++returned_records) |
197 | { | 198 | { |
198 | if (endbadly_task != NULL) | 199 | if (endbadly_task != NULL) |