diff options
author | Kalle Wallin <kaw@linux.se> | 2004-04-13 18:49:17 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-04-13 18:49:17 +0000 |
commit | 542fd6927ea11cb9c29fae8a1e9934ad9d2e17e5 (patch) | |
tree | b100af617d50096d4e682c02b8f665418184084f /main.c | |
parent | 9dff41f8e260ebf532fc9e8e32ba1b1d7d142d9c (diff) | |
download | mpd-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 ) { |