summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-tcp.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-23 17:29:57 +0900
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-23 17:29:57 +0900
commitad16610d60141848958c9a4838cd4b706a2d4f2b (patch)
treed7ba25b8f206fe769f7c20de6fde4f7439f87839 /src/transport/gnunet-communicator-tcp.c
parent58b8c9ffcbfb433fb764e6259a73c9bc971f1545 (diff)
add tcp test; minor fix
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r--src/transport/gnunet-communicator-tcp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c
index 098bb9523..70cbb731a 100644
--- a/src/transport/gnunet-communicator-tcp.c
+++ b/src/transport/gnunet-communicator-tcp.c
@@ -2081,10 +2081,10 @@ run (void *cls,
(void) cls;
cfg = c;
if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_filename (cfg,
- COMMUNICATOR_CONFIG_SECTION,
- "BINDTO",
- &bindto))
+ GNUNET_CONFIGURATION_get_value_string (cfg,
+ COMMUNICATOR_CONFIG_SECTION,
+ "BINDTO",
+ &bindto))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
COMMUNICATOR_CONFIG_SECTION,