summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-06-27 22:53:43 +0200
committerJoe <bousset.rudy@gmail.com>2022-06-27 22:53:43 +0200
commit229caf16089806524e0d6c7500364c4c9677558b (patch)
tree7250cb51957ac767590d280c522ba114ad30ea49
parentWIP (diff)
downloadmpdview-229caf16089806524e0d6c7500364c4c9677558b.tar.gz
mpdview-229caf16089806524e0d6c7500364c4c9677558b.tar.bz2
mpdview-229caf16089806524e0d6c7500364c4c9677558b.tar.xz
mpdview-229caf16089806524e0d6c7500364c4c9677558b.tar.zst
mpdview-229caf16089806524e0d6c7500364c4c9677558b.zip
Fix
-rw-r--r--src/c_mpdview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_mpdview.c b/src/c_mpdview.c
index df5afc6..03e46e6 100644
--- a/src/c_mpdview.c
+++ b/src/c_mpdview.c
@@ -69,7 +69,7 @@ main
conn = mpd_connection_new("localhost", 6600, 3000);
if (mpd_connection_get_error(conn) != MPD_ERROR_SUCCESS) {
dprintf(STDERR_FILENO, "%s: %s\n", PROGNAME, mpd_connection_get_error_message(conn));
- return (NULL);
+ return (EXIT_FAILURE);
}
mpd_connection_free(conn);
conn = NULL;