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 cd7c7dadba1793a1dccfe83c945863c47aa9c7df..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);
}