summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;