diff options
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c index df0c38608..018cf89b1 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/namestore/test_namestore_api_monitoring.c | |||
@@ -198,8 +198,7 @@ zone_proc (void *cls, | |||
198 | 198 | ||
199 | static void | 199 | static void |
200 | put_cont (void *cls, | 200 | put_cont (void *cls, |
201 | int32_t success, | 201 | enum GNUNET_ErrorCode ec) |
202 | const char *emsg) | ||
203 | { | 202 | { |
204 | static int c = 0; | 203 | static int c = 0; |
205 | char *label = cls; | 204 | char *label = cls; |
@@ -211,7 +210,7 @@ put_cont (void *cls, | |||
211 | else if (0 == strcmp (label, s_name_3)) | 210 | else if (0 == strcmp (label, s_name_3)) |
212 | ns_ops[2] = NULL; | 211 | ns_ops[2] = NULL; |
213 | 212 | ||
214 | if (success == GNUNET_OK) | 213 | if (GNUNET_EC_NONE == ec) |
215 | { | 214 | { |
216 | c++; | 215 | c++; |
217 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 216 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |