summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 057875e)
raw | patch | inline | side by side (parent: 057875e)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 29 Oct 2011 12:49:26 +0000 (14:49 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 2 Nov 2011 14:36:29 +0000 (15:36 +0100) |
src/main.c | patch | blob | history |
diff --git a/src/main.c b/src/main.c
index a57f35dfcf27f610fe44972828b23af34b3c76f1..51334f181413b0c5329d1361100b1bd52366e693 100644 (file)
--- a/src/main.c
+++ b/src/main.c
c->idle = false;
- assert(mpdclient_get_connection(c) != NULL);
+ assert(mpdclient_is_connected(c));
if (error != MPD_ERROR_SUCCESS) {
char *allocated;