diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-25 21:37:28 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-25 21:37:28 +0900 |
commit | 1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2 (patch) | |
tree | 52c42a8155537045c1c7557bf13853b711a1cb64 /src/reclaim/plugin_reclaim_attribute_basic.c | |
parent | debba1a49a46ba963553da222ade563d6d67932b (diff) | |
download | gnunet-1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2.tar.gz gnunet-1e37e8edc0c23674df6c2144e3f2d83e3dbc1bc2.zip |
fix error in presentation handling
Diffstat (limited to 'src/reclaim/plugin_reclaim_attribute_basic.c')
-rw-r--r-- | src/reclaim/plugin_reclaim_attribute_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reclaim/plugin_reclaim_attribute_basic.c b/src/reclaim/plugin_reclaim_attribute_basic.c index 286186a93..c87922886 100644 --- a/src/reclaim/plugin_reclaim_attribute_basic.c +++ b/src/reclaim/plugin_reclaim_attribute_basic.c | |||
@@ -82,7 +82,7 @@ basic_string_to_value (void *cls, | |||
82 | { | 82 | { |
83 | case GNUNET_RECLAIM_ATTRIBUTE_TYPE_STRING: | 83 | case GNUNET_RECLAIM_ATTRIBUTE_TYPE_STRING: |
84 | *data = GNUNET_strdup (s); | 84 | *data = GNUNET_strdup (s); |
85 | *data_size = strlen (s); | 85 | *data_size = strlen (s) + 1; |
86 | return GNUNET_OK; | 86 | return GNUNET_OK; |
87 | 87 | ||
88 | default: | 88 | default: |