aboutsummaryrefslogtreecommitdiff
path: root/src/nat
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-12-17 08:06:25 +0100
committerChristian Grothoff <christian@grothoff.org>2016-12-17 08:06:25 +0100
commit88c39e0eb9748da2d96b99342747f8270c52216a (patch)
treea396425fa697e0263b4c71529df34ae9873bc09b /src/nat
parentc9272e75b1a6c73d3928931ec4b4321dd46c643c (diff)
downloadgnunet-88c39e0eb9748da2d96b99342747f8270c52216a.tar.gz
gnunet-88c39e0eb9748da2d96b99342747f8270c52216a.zip
need to strdup as this will be freed
Diffstat (limited to 'src/nat')
-rw-r--r--src/nat/gnunet-service-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c
index 10bfd07a4..235ca9389 100644
--- a/src/nat/gnunet-service-nat.c
+++ b/src/nat/gnunet-service-nat.c
@@ -1399,7 +1399,7 @@ handle_autoconfig_request (void *cls,
1399 "PEER", 1399 "PEER",
1400 "SYSTEM_TYPE", 1400 "SYSTEM_TYPE",
1401 &ac->system_type)) 1401 &ac->system_type))
1402 ac->system_type = "UNKNOWN"; 1402 ac->system_type = GNUNET_strdup ("UNKNOWN");
1403 1403
1404 GNUNET_CONTAINER_DLL_insert (ac_head, 1404 GNUNET_CONTAINER_DLL_insert (ac_head,
1405 ac_tail, 1405 ac_tail,