Code

screen_song: check c->status!=NULL
authorMax Kellermann <max@duempel.org>
Fri, 27 Mar 2009 18:21:15 +0000 (19:21 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 27 Mar 2009 18:21:15 +0000 (19:21 +0100)
commit2bbe6669d68816799a549e78f29766e7029162ed
tree3ddaab6831124df87aedb469e445248898aa78d0
parent9a244cf15e550359f08dc6a9c8f8284ad0831621
screen_song: check c->status!=NULL

When the connection to the MPD server is closed, c->status may become
NULL.  All of the ncmpc code has to check that, including the song
screen.
src/screen_song.c