From 8c0680f6b986f7b4637139689d513e4d13c1af47 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Tue, 10 Nov 2009 20:54:17 +0100
Subject: input/lastfm: fixed variable name in GLib<2.16 code path

Should be "lastfm_user", not "lastfm_username".
---
 src/input/lastfm_input_plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/input')

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)
-- 
cgit v1.2.3