aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/lastfm_input_plugin.c
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 /src/input/lastfm_input_plugin.c
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".
Diffstat (limited to 'src/input/lastfm_input_plugin.c')
-rw-r--r--src/input/lastfm_input_plugin.c2
1 files changed, 1 insertions, 1 deletions
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)