From 542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5 Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Tue, 13 Apr 2004 18:49:17 +0000 Subject: [PATCH] Poll mpd twice/second, print a newline when exiting. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@733 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 8538636..6d4bd34 100644 --- a/main.c +++ b/main.c @@ -14,7 +14,7 @@ #include "conf.h" /* time in seconds between mpd updates (double) */ -#define MPD_UPDATE_TIME 1.0 +#define MPD_UPDATE_TIME 0.5 /* timout in seconds before trying to reconnect (int) */ #define MPD_RECONNECT_TIMEOUT 3 @@ -27,6 +27,7 @@ void exit_and_cleanup(void) { screen_exit(); + printf("\n"); charset_close(); if( mpc ) { -- 2.30.2