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:
c9272e7
)
need to strdup as this will be freed
author
Christian Grothoff
<christian@grothoff.org>
Sat, 17 Dec 2016 07:06:25 +0000
(08:06 +0100)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 17 Dec 2016 07:06:25 +0000
(08:06 +0100)
src/nat/gnunet-service-nat.c
patch
|
blob
|
history
diff --git
a/src/nat/gnunet-service-nat.c
b/src/nat/gnunet-service-nat.c
index 10bfd07a45a6b3c2328acbbf892b4cd4f536c964..235ca9389e2158a1f72b42697ee01ecea7f76dbf 100644
(file)
--- a/
src/nat/gnunet-service-nat.c
+++ b/
src/nat/gnunet-service-nat.c
@@
-1399,7
+1399,7
@@
handle_autoconfig_request (void *cls,
"PEER",
"SYSTEM_TYPE",
&ac->system_type))
- ac->system_type =
"UNKNOWN"
;
+ ac->system_type =
GNUNET_strdup ("UNKNOWN")
;
GNUNET_CONTAINER_DLL_insert (ac_head,
ac_tail,