diff options
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist_client.c')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist_client.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_client.c b/src/hostlist/gnunet-daemon-hostlist_client.c index d59407af8..4d31ab692 100644 --- a/src/hostlist/gnunet-daemon-hostlist_client.c +++ b/src/hostlist/gnunet-daemon-hostlist_client.c | |||
@@ -1574,12 +1574,13 @@ GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, | |||
1574 | else if (0 == strcmp(proxytype_str, "SOCKS4A")) | 1574 | else if (0 == strcmp(proxytype_str, "SOCKS4A")) |
1575 | proxy_type = CURLPROXY_SOCKS4A; | 1575 | proxy_type = CURLPROXY_SOCKS4A; |
1576 | else if (0 == strcmp(proxytype_str, "SOCKS5_HOSTNAME")) | 1576 | else if (0 == strcmp(proxytype_str, "SOCKS5_HOSTNAME")) |
1577 | proxy_type = CURLPROXY_SOCKS5_HOSTNAME ; | 1577 | proxy_type = CURLPROXY_SOCKS5_HOSTNAME; |
1578 | else | 1578 | else |
1579 | { | 1579 | { |
1580 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1580 | if (0 != strcasecmp (proxytype_str, "NONE")) |
1581 | _("Invalid proxy type: `%s', disabling proxy! Check configuration!\n"), | 1581 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1582 | proxytype_str); | 1582 | _("Invalid proxy type: `%s', disabling proxy! Check configuration!\n"), |
1583 | proxytype_str); | ||
1583 | GNUNET_free (proxytype_str); | 1584 | GNUNET_free (proxytype_str); |
1584 | 1585 | ||
1585 | GNUNET_free (proxy); | 1586 | GNUNET_free (proxy); |