From: Max Kellermann Date: Sat, 10 Oct 2009 16:54:24 +0000 (+0200) Subject: options: removed deprecated password code X-Git-Tag: release-0.16~125 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b5f438d64b170a184755f1c433f70c69e3063b8;p=ncmpc.git options: removed deprecated password code libmpdclient2 parses the password from the host name. --- diff --git a/src/options.c b/src/options.c index c9eb5e8..9746d3a 100644 --- a/src/options.c +++ b/src/options.c @@ -367,16 +367,6 @@ options_parse(int argc, const char *argv[]) void options_init(void) { - /* XXX - if ((tmp = g_strstr_len(options.host, strlen(options.host), "@"))) { - char *oldhost = options.host; - *tmp = '\0'; - options.password = locale_to_utf8(oldhost); - options.host = g_strdup(tmp+1); - g_free(oldhost); - } - */ - /* default option values */ options.list_format = g_strdup(DEFAULT_LIST_FORMAT); options.status_format = g_strdup(DEFAULT_STATUS_FORMAT);