aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-13 18:49:17 +0000
committerKalle Wallin <kaw@linux.se>2004-04-13 18:49:17 +0000
commit542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5 (patch)
treeb100af617d50096d4e682c02b8f665418184084f /main.c
parent9dff41f8e260ebf532fc9e8e32ba1b1d7d142d9c (diff)
downloadmpd-542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5.tar.gz
mpd-542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5.tar.xz
mpd-542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5.zip
Poll mpd twice/second, print a newline when exiting.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@733 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 853863609..6d4bd345e 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 )
{