aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpc.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-09 17:31:24 +0000
committerKalle Wallin <kaw@linux.se>2004-06-09 17:31:24 +0000
commit72c0b2270d207e32a2124ce6439214e5e8139e57 (patch)
treeb20f394ba2cb3f036d90cd9f84def6fe8e6a8d27 /src/mpc.c
parenta14b635343ebdcb711885d840687d181ebd2bfbb (diff)
downloadmpd-72c0b2270d207e32a2124ce6439214e5e8139e57.tar.gz
mpd-72c0b2270d207e32a2124ce6439214e5e8139e57.tar.xz
mpd-72c0b2270d207e32a2124ce6439214e5e8139e57.zip
Updated the reconnect code to allow user to abort in raw mode
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1422 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/mpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mpc.c b/src/mpc.c
index a2db4c62f..e5b6a2e8b 100644
--- a/src/mpc.c
+++ b/src/mpc.c
@@ -77,7 +77,7 @@ mpc_reconnect(mpd_client_t *c, char *host, int port, char *password)
{
mpd_Connection *connection;
- connection = mpd_newConnection(host, port, 10);
+ connection = mpd_newConnection(host, port, 1);
if( connection==NULL )
return -1;
if( connection->error )