diff options
author | Bertrand Marc <beberking@gmail.com> | 2013-08-03 13:07:32 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2013-08-03 13:07:32 +0200 |
commit | 1ae32bc989973c2e8909c3b085d34b2454f92d1e (patch) | |
tree | dfde89b41437def7ce23af24db53a11a9b5f1075 /src/dns/plugin_block_dns.c | |
parent | 740b30688bd745a527f96f9116c19acb3480971a (diff) |
Imported Upstream version 0.9.5a
Diffstat (limited to 'src/dns/plugin_block_dns.c')
-rw-r--r-- | src/dns/plugin_block_dns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dns/plugin_block_dns.c b/src/dns/plugin_block_dns.c index da8add5..8ac1ef2 100644 --- a/src/dns/plugin_block_dns.c +++ b/src/dns/plugin_block_dns.c @@ -48,7 +48,7 @@ */ static enum GNUNET_BLOCK_EvaluationResult block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, - const GNUNET_HashCode * query, + const struct GNUNET_HashCode * query, struct GNUNET_CONTAINER_BloomFilter **bf, int32_t bf_mutator, const void *xquery, size_t xquery_size, const void *reply_block, @@ -124,13 +124,13 @@ block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, static int block_plugin_dns_get_key (void *cls, enum GNUNET_BLOCK_Type type, const void *block, size_t block_size, - GNUNET_HashCode * key) + struct GNUNET_HashCode * key) { if (type != GNUNET_BLOCK_TYPE_DNS) return GNUNET_SYSERR; const struct GNUNET_DNS_Record *rec = block; - memcpy (key, &rec->service_descriptor, sizeof (GNUNET_HashCode)); + memcpy (key, &rec->service_descriptor, sizeof (struct GNUNET_HashCode)); return GNUNET_OK; } |