projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd333f6
)
- fix
author
Matthias Wachs
<wachs@net.in.tum.de>
Thu, 22 Mar 2012 17:52:00 +0000
(17:52 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Thu, 22 Mar 2012 17:52:00 +0000
(17:52 +0000)
src/namestore/namestore_common.c
patch
|
blob
|
history
diff --git
a/src/namestore/namestore_common.c
b/src/namestore/namestore_common.c
index 0b6f4eb931758ad10f65c0d2b59948405269b770..117d96a57f456c42b5b2872c961f81d6dd4f03ca 100644
(file)
--- a/
src/namestore/namestore_common.c
+++ b/
src/namestore/namestore_common.c
@@
-419,6
+419,7
@@
GNUNET_NAMESTORE_string_to_value (uint32_t type,
if (1 != inet_pton (AF_INET6, s, &value_aaaa))
return GNUNET_SYSERR;
*data = GNUNET_malloc (sizeof (struct in6_addr));
+ *data_size = sizeof (struct in6_addr);
memcpy (*data, &value_aaaa, sizeof (value_aaaa));
return GNUNET_OK;
case GNUNET_NAMESTORE_TYPE_PKEY: