projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up zone iteration logic
[oweals/gnunet.git]
/
src
/
namestore
/
namestore_api_monitor.c
diff --git
a/src/namestore/namestore_api_monitor.c
b/src/namestore/namestore_api_monitor.c
index 00f0887d47bfd1287325515c20f79aeb7434a678..8e6d39ad7e2612bd242b6e31af6331f56fa3d029 100644
(file)
--- a/
src/namestore/namestore_api_monitor.c
+++ b/
src/namestore/namestore_api_monitor.c
@@
-114,6
+114,8
@@
handle_sync (void *cls,
{
struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
{
struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
+ (void) cls;
+ (void) msg;
if (NULL != zm->sync_cb)
zm->sync_cb (zm->sync_cb_cls);
}
if (NULL != zm->sync_cb)
zm->sync_cb (zm->sync_cb_cls);
}
@@
-138,6
+140,7
@@
check_result (void *cls,
const char *name_tmp;
const char *rd_ser_tmp;
const char *name_tmp;
const char *rd_ser_tmp;
+ (void) cls;
lrm_len = ntohs (lrm->gns_header.header.size);
rd_len = ntohs (lrm->rd_len);
rd_count = ntohs (lrm->rd_count);
lrm_len = ntohs (lrm->gns_header.header.size);
rd_len = ntohs (lrm->rd_len);
rd_count = ntohs (lrm->rd_count);
@@
-231,6
+234,7
@@
mq_error_handler (void *cls,
{
struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
{
struct GNUNET_NAMESTORE_ZoneMonitor *zm = cls;
+ (void) error;
reconnect (zm);
}
reconnect (zm);
}
@@
-262,7
+266,7
@@
reconnect (struct GNUNET_NAMESTORE_ZoneMonitor *zm)
GNUNET_MQ_destroy (zm->mq);
zm->error_cb (zm->error_cb_cls);
}
GNUNET_MQ_destroy (zm->mq);
zm->error_cb (zm->error_cb_cls);
}
- zm->mq = GNUNET_CLIENT_connec
T
(zm->cfg,
+ zm->mq = GNUNET_CLIENT_connec
t
(zm->cfg,
"namestore",
handlers,
&mq_error_handler,
"namestore",
handlers,
&mq_error_handler,