diff options
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/gnunet-daemon-hostlist_client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_client.c b/src/hostlist/gnunet-daemon-hostlist_client.c index 44966d3de..1f7d4cc35 100644 --- a/src/hostlist/gnunet-daemon-hostlist_client.c +++ b/src/hostlist/gnunet-daemon-hostlist_client.c | |||
@@ -1635,7 +1635,11 @@ GNUNET_HOSTLIST_client_start (const struct GNUNET_CONFIGURATION_Handle *c, | |||
1635 | "PROXY_TYPE", | 1635 | "PROXY_TYPE", |
1636 | &proxytype_str)) | 1636 | &proxytype_str)) |
1637 | { | 1637 | { |
1638 | GNUNET_STRINGS_utf8_toupper (proxytype_str, proxytype_str); | 1638 | if (GNUNET_OK != GNUNET_STRINGS_utf8_toupper (proxytype_str, |
1639 | proxytype_str)) | ||
1640 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | ||
1641 | "Unable to convert `%s' to UTF-8 uppercase\n", | ||
1642 | proxytype_str); | ||
1639 | proxy_type = CURLPROXY_HTTP; | 1643 | proxy_type = CURLPROXY_HTTP; |
1640 | if (0 == strcmp (proxytype_str, "HTTP")) | 1644 | if (0 == strcmp (proxytype_str, "HTTP")) |
1641 | proxy_type = CURLPROXY_HTTP; | 1645 | proxy_type = CURLPROXY_HTTP; |