From 229caf16089806524e0d6c7500364c4c9677558b Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 27 Jun 2022 22:53:43 +0200 Subject: Fix --- src/c_mpdview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3