spoon

set dwm status
git clone git://git.2f30.org/spoon
Log | Files | Refs | LICENSE

commit db31075bc39b4ff751d9ea719a59204eb3b9dd7b
parent 9c3041c149f39a124f71e940fc6f84a505e60050
Author: sin <sin@2f30.org>
Date:   Mon, 26 Sep 2016 16:54:58 +0100

Move comment to right place

Diffstat:
Mspoon.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spoon.c b/spoon.c @@ -57,10 +57,10 @@ mpdread(char *buf, size_t len) } mpd_send_current_song(conn); song = mpd_recv_song(conn); - /* if no song is playing, reuse connection next time */ if (song == NULL) { if (mpd_connection_get_error(conn) != MPD_ERROR_SUCCESS) goto out; + /* if no song is playing, reuse connection next time */ return -1; } artist = mpd_song_get_tag(song, MPD_TAG_ARTIST, 0);