diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 20:54:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 20:54:17 +0100 |
commit | 8c0680f6b986f7b4637139689d513e4d13c1af47 (patch) | |
tree | bb3eb439473808eb475d10a6c04b164a4f0ff543 | |
parent | b242175e181b4d9cbcd4087a38c9601ffba7ddc7 (diff) | |
download | mpd-8c0680f6b986f7b4637139689d513e4d13c1af47.tar.gz mpd-8c0680f6b986f7b4637139689d513e4d13c1af47.tar.xz mpd-8c0680f6b986f7b4637139689d513e4d13c1af47.zip |
input/lastfm: fixed variable name in GLib<2.16 code path
Should be "lastfm_user", not "lastfm_username".
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/input/lastfm_input_plugin.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,6 @@ ver 0.15.6 (2009/??/??) +* input: + - lastfm: fixed variable name in GLib<2.16 code path * decoders: - ffmpeg: convert metadata * output_thread: check again if output is open on PAUSE diff --git a/src/input/lastfm_input_plugin.c b/src/input/lastfm_input_plugin.c index 0039f7069..8e13a60a9 100644 --- a/src/input/lastfm_input_plugin.c +++ b/src/input/lastfm_input_plugin.c @@ -112,7 +112,7 @@ lastfm_input_open(struct input_stream *is, const char *url) #if GLIB_CHECK_VERSION(2,16,0) q = g_uri_escape_string(lastfm_user, NULL, false); #else - q = g_strdup(lastfm_username); + q = g_strdup(lastfm_user); #endif #if GLIB_CHECK_VERSION(2,16,0) |