diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-20 17:58:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-20 17:58:46 +0000 |
commit | c1ff578c693e4e45125ead915dc515bb141883ec (patch) | |
tree | e4573d2a5cc18aca5bcf3942a3fc267ef13fbc28 /src/namestore/test_namestore_api_monitoring_existing.c | |
parent | 379bca7ce074b828fc09f592fcae2e94945da6cd (diff) | |
download | gnunet-c1ff578c693e4e45125ead915dc515bb141883ec.tar.gz gnunet-c1ff578c693e4e45125ead915dc515bb141883ec.zip |
-allow namestore to monitor ALL zones, and to optionally only monitor changes
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring_existing.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring_existing.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index bab857def..16e4e4157 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c | |||
@@ -237,10 +237,11 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
237 | { | 237 | { |
238 | /* Start monitoring */ | 238 | /* Start monitoring */ |
239 | zm = GNUNET_NAMESTORE_zone_monitor_start (cfg, | 239 | zm = GNUNET_NAMESTORE_zone_monitor_start (cfg, |
240 | privkey, | 240 | privkey, |
241 | &zone_proc, | 241 | GNUNET_YES, |
242 | NULL, | 242 | &zone_proc, |
243 | NULL); | 243 | NULL, |
244 | NULL); | ||
244 | if (NULL == zm) | 245 | if (NULL == zm) |
245 | { | 246 | { |
246 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to create zone monitor\n"); | 247 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to create zone monitor\n"); |