aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 20:54:17 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 20:54:17 +0100
commit8c0680f6b986f7b4637139689d513e4d13c1af47 (patch)
treebb3eb439473808eb475d10a6c04b164a4f0ff543
parentb242175e181b4d9cbcd4087a38c9601ffba7ddc7 (diff)
downloadmpd-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--NEWS2
-rw-r--r--src/input/lastfm_input_plugin.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2e314295a..2c76c6b93 100644
--- a/NEWS
+++ b/NEWS
@@ -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)