diff options
author | waker <wakeroid@gmail.com> | 2009-09-01 19:23:20 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-09-01 19:23:20 +0200 |
commit | fe7f527198369575f5f7d052246677f9fede4b1e (patch) | |
tree | fd1aabfc836be64d1f9c40bbb8268c7d7a4f293e /plugins | |
parent | 33374d88f19242c10b5370cd17f767580052c09e (diff) |
fixed typo in lfm error code checking
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/lastfm/lastfm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index fa1e4308..21df2b26 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -468,7 +468,7 @@ lfm_send_nowplaying (void) { if (!status) { if (strncmp (lfm_reply, "OK", 2)) { fprintf (stderr, "nowplaying failed, response:\n%s\n", lfm_reply); - if (!strncmp (lfm_reply, "BADSESS", 7)) { + if (!strncmp (lfm_reply, "BADSESSION", 7)) { lfm_sess[0] = 0; } } @@ -518,7 +518,7 @@ lfm_send_submissions (void) { if (!status) { if (strncmp (lfm_reply, "OK", 2)) { fprintf (stderr, "submission failed, response:\n%s\n", lfm_reply); - if (!strncmp (lfm_reply, "BADSESS", 7)) { + if (!strncmp (lfm_reply, "BADSESSION", 7)) { lfm_sess[0] = 0; } } |