projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb489d
)
increased mpd timeout to 10 seconds
author
engine
<engine@gas-werk.org>
Sun, 30 Mar 2014 12:18:28 +0000
(14:18 +0200)
committer
Andrew Karpow
<andy@ndyk.de>
Mon, 31 Mar 2014 14:19:47 +0000
(16:19 +0200)
Signed-off-by: Andrew Karpow <andy@ndyk.de>
src/mpd_client.c
patch
|
blob
|
history
diff --git
a/src/mpd_client.c
b/src/mpd_client.c
index
a640dab
..
3b0609f
100644
(file)
--- a/
src/mpd_client.c
+++ b/
src/mpd_client.c
@@
-55,7
+55,7
@@
int callback_mpd(struct mg_connection *c)
cmd_id != MPD_API_GET_MPDHOST && cmd_id != MPD_API_SET_MPDPASS)
return MG_CLIENT_CONTINUE;
- mpd_connection_set_timeout(mpd.conn,
5
000);
+ mpd_connection_set_timeout(mpd.conn,
10
000);
switch(cmd_id)
{
case MPD_API_UPDATE_DB: