aboutsummaryrefslogtreecommitdiff
path: root/src/gns/plugin_gnsrecord_gns.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-10-06 04:32:15 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-10-06 04:32:15 +0200
commit684df5daf98dfe98b7e5faeefea8bee589a268a4 (patch)
treeb30c468e74391ff85e2c2ce266a6720b4b9b9569 /src/gns/plugin_gnsrecord_gns.c
parentc2e682c75378b000ad75c91342b0d459edfb2720 (diff)
downloadgnunet-684df5daf98dfe98b7e5faeefea8bee589a268a4.tar.gz
gnunet-684df5daf98dfe98b7e5faeefea8bee589a268a4.zip
save nick 0-term byte
Diffstat (limited to 'src/gns/plugin_gnsrecord_gns.c')
-rw-r--r--src/gns/plugin_gnsrecord_gns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_gnsrecord_gns.c b/src/gns/plugin_gnsrecord_gns.c
index 3ea282fdf..e0bc4fb0c 100644
--- a/src/gns/plugin_gnsrecord_gns.c
+++ b/src/gns/plugin_gnsrecord_gns.c
@@ -175,7 +175,7 @@ gns_string_to_value (void *cls,
175 175
176 case GNUNET_GNSRECORD_TYPE_NICK: 176 case GNUNET_GNSRECORD_TYPE_NICK:
177 *data = GNUNET_strdup (s); 177 *data = GNUNET_strdup (s);
178 *data_size = strlen (s) + 1; //Store 0-terminator 178 *data_size = strlen (s);
179 return GNUNET_OK; 179 return GNUNET_OK;
180 180
181 case GNUNET_GNSRECORD_TYPE_LEHO: 181 case GNUNET_GNSRECORD_TYPE_LEHO: