aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-03-22 17:52:00 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-03-22 17:52:00 +0000
commit9393482faf10c55fc3a28d160afd23844c44be45 (patch)
tree7b0b35a89a8545bcb1f2a10bb03e55cc9e38b137 /src
parentdd333f69e55bd7e2b94b4bb281e9b0c0b63c23f2 (diff)
downloadgnunet-9393482faf10c55fc3a28d160afd23844c44be45.tar.gz
gnunet-9393482faf10c55fc3a28d160afd23844c44be45.zip
- fix
Diffstat (limited to 'src')
-rw-r--r--src/namestore/namestore_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/namestore_common.c b/src/namestore/namestore_common.c
index 0b6f4eb93..117d96a57 100644
--- a/src/namestore/namestore_common.c
+++ b/src/namestore/namestore_common.c
@@ -419,6 +419,7 @@ GNUNET_NAMESTORE_string_to_value (uint32_t type,
419 if (1 != inet_pton (AF_INET6, s, &value_aaaa)) 419 if (1 != inet_pton (AF_INET6, s, &value_aaaa))
420 return GNUNET_SYSERR; 420 return GNUNET_SYSERR;
421 *data = GNUNET_malloc (sizeof (struct in6_addr)); 421 *data = GNUNET_malloc (sizeof (struct in6_addr));
422 *data_size = sizeof (struct in6_addr);
422 memcpy (*data, &value_aaaa, sizeof (value_aaaa)); 423 memcpy (*data, &value_aaaa, sizeof (value_aaaa));
423 return GNUNET_OK; 424 return GNUNET_OK;
424 case GNUNET_NAMESTORE_TYPE_PKEY: 425 case GNUNET_NAMESTORE_TYPE_PKEY: