summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c1fbbd)
raw | patch | inline | side by side (parent: 3c1fbbd)
author | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 16:54:24 +0000 (18:54 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 16:54:24 +0000 (18:54 +0200) |
libmpdclient2 parses the password from the host name.
src/options.c | patch | blob | history |
diff --git a/src/options.c b/src/options.c
index c9eb5e8a954c3fcbb812caa4651e36b1f5888548..9746d3ab78c08b67052ba11076887499f0b138fa 100644 (file)
--- a/src/options.c
+++ b/src/options.c
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);