projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4091509
)
bugfix timeout when using the searchfield
author
othmar52
<othmar@moovy.at>
Thu, 27 Mar 2014 09:52:28 +0000
(10:52 +0100)
committer
Andrew Karpow
<andy@ndyk.de>
Mon, 31 Mar 2014 14:19:39 +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
10180af
..
a640dab
100644
(file)
--- a/
src/mpd_client.c
+++ b/
src/mpd_client.c
@@
-55,6
+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, 5000);
switch(cmd_id)
{
case MPD_API_UPDATE_DB: