aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-23 22:38:37 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-23 22:38:37 +0000
commitbe08f579f80090dfbc265e1635b84eb8845b1fba (patch)
tree1fb72b8e81189c2ddd9f375021cb3ccaf8458180 /src
parent5a3d846bc0c48e48b71189d89975eaefa8c21a90 (diff)
downloadgnunet-be08f579f80090dfbc265e1635b84eb8845b1fba.tar.gz
gnunet-be08f579f80090dfbc265e1635b84eb8845b1fba.zip
-do run with proxy type NONE
Diffstat (limited to 'src')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist_client.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_client.c b/src/hostlist/gnunet-daemon-hostlist_client.c
index 4d31ab692..cb1235915 100644
--- a/src/hostlist/gnunet-daemon-hostlist_client.c
+++ b/src/hostlist/gnunet-daemon-hostlist_client.c
@@ -1578,19 +1578,20 @@ GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c,
1578 else 1578 else
1579 { 1579 {
1580 if (0 != strcasecmp (proxytype_str, "NONE")) 1580 if (0 != strcasecmp (proxytype_str, "NONE"))
1581 {
1581 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1582 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
1582 _("Invalid proxy type: `%s', disabling proxy! Check configuration!\n"), 1583 _("Invalid proxy type: `%s', disabling proxy! Check configuration!\n"),
1583 proxytype_str); 1584 proxytype_str);
1584 GNUNET_free (proxytype_str); 1585 GNUNET_free (proxytype_str);
1585 1586 GNUNET_free (proxy);
1586 GNUNET_free (proxy); 1587 proxy = NULL;
1587 proxy = NULL; 1588 GNUNET_free_non_null (proxy_username);
1588 GNUNET_free_non_null (proxy_username); 1589 proxy_username = NULL;
1589 proxy_username = NULL; 1590 GNUNET_free_non_null (proxy_password);
1590 GNUNET_free_non_null (proxy_password); 1591 proxy_password = NULL;
1591 proxy_password = NULL; 1592
1592 1593 return GNUNET_SYSERR;
1593 return GNUNET_SYSERR; 1594 }
1594 } 1595 }
1595 } 1596 }
1596 GNUNET_free_non_null (proxytype_str); 1597 GNUNET_free_non_null (proxytype_str);