aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/namestore_api_monitor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-04-10 13:02:28 +0200
committerChristian Grothoff <christian@grothoff.org>2018-04-10 13:02:51 +0200
commit0cd0e3a5287af73bb81219ebc9548395a8945ce8 (patch)
treeb5bb24d78a4eed519b37e6fb8f9291a6282d06d4 /src/namestore/namestore_api_monitor.c
parent3eae3e43d6f94449cb89998a676e6696438cc604 (diff)
downloadgnunet-0cd0e3a5287af73bb81219ebc9548395a8945ce8.tar.gz
gnunet-0cd0e3a5287af73bb81219ebc9548395a8945ce8.zip
more work on gnunet-zoneimport, some bugfix in flat namestore, misc. style fixes
Diffstat (limited to 'src/namestore/namestore_api_monitor.c')
-rw-r--r--src/namestore/namestore_api_monitor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/namestore/namestore_api_monitor.c b/src/namestore/namestore_api_monitor.c
index cd7c7dadb..8e6d39ad7 100644
--- a/src/namestore/namestore_api_monitor.c
+++ b/src/namestore/namestore_api_monitor.c
@@ -114,6 +114,8 @@ handle_sync (void *cls,
114{ 114{
115 struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls; 115 struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
116 116
117 (void) cls;
118 (void) msg;
117 if (NULL != zm->sync_cb) 119 if (NULL != zm->sync_cb)
118 zm->sync_cb (zm->sync_cb_cls); 120 zm->sync_cb (zm->sync_cb_cls);
119} 121}
@@ -138,6 +140,7 @@ check_result (void *cls,
138 const char *name_tmp; 140 const char *name_tmp;
139 const char *rd_ser_tmp; 141 const char *rd_ser_tmp;
140 142
143 (void) cls;
141 lrm_len = ntohs (lrm->gns_header.header.size); 144 lrm_len = ntohs (lrm->gns_header.header.size);
142 rd_len = ntohs (lrm->rd_len); 145 rd_len = ntohs (lrm->rd_len);
143 rd_count = ntohs (lrm->rd_count); 146 rd_count = ntohs (lrm->rd_count);
@@ -231,6 +234,7 @@ mq_error_handler (void *cls,
231{ 234{
232 struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls; 235 struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
233 236
237 (void) error;
234 reconnect (zm); 238 reconnect (zm);
235} 239}
236 240