aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-service-dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpn/gnunet-service-dns.c')
-rw-r--r--src/vpn/gnunet-service-dns.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c
index 49e774dc2..4aa04ddfa 100644
--- a/src/vpn/gnunet-service-dns.c
+++ b/src/vpn/gnunet-service-dns.c
@@ -325,7 +325,9 @@ mesh_send (void *cls, size_t size, void *buf)
325void 325void
326mesh_connect (void *cls, const struct GNUNET_PeerIdentity *peer, 326mesh_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
327 const struct GNUNET_ATS_Information *atsi 327 const struct GNUNET_ATS_Information *atsi
328 __attribute__ ((unused))) 328 __attribute__ ((unused)),
329 unsigned int atsi_count
330 __attribute__ ((unused)))
329{ 331{
330 if (NULL == peer) 332 if (NULL == peer)
331 return; 333 return;
@@ -395,7 +397,9 @@ receive_mesh_query (void *cls
395 __attribute__ ((unused)), 397 __attribute__ ((unused)),
396 const struct GNUNET_MessageHeader *message, 398 const struct GNUNET_MessageHeader *message,
397 const struct GNUNET_ATS_Information *atsi 399 const struct GNUNET_ATS_Information *atsi
398 __attribute__ ((unused))) 400 __attribute__ ((unused)),
401 unsigned int atsi_count
402 __attribute__ ((unused)))
399{ 403{
400 struct dns_pkt *dns = (struct dns_pkt *) (message + 1); 404 struct dns_pkt *dns = (struct dns_pkt *) (message + 1);
401 405
@@ -429,7 +433,9 @@ receive_mesh_answer (void *cls
429 const struct GNUNET_PeerIdentity *sender, 433 const struct GNUNET_PeerIdentity *sender,
430 const struct GNUNET_MessageHeader *message, 434 const struct GNUNET_MessageHeader *message,
431 const struct GNUNET_ATS_Information *atsi 435 const struct GNUNET_ATS_Information *atsi
432 __attribute__ ((unused))) 436 __attribute__ ((unused)),
437 unsigned int atsi_count
438 __attribute__ ((unused)))
433{ 439{
434 /* TODo: size check */ 440 /* TODo: size check */
435 struct dns_pkt *dns = (struct dns_pkt *) (message + 1); 441 struct dns_pkt *dns = (struct dns_pkt *) (message + 1);