diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:17:07 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-01-27 16:17:07 +0100 |
commit | 17c22dc7eea8486364c6114751b0851552bb2bdd (patch) | |
tree | e2a41bd6657866b38fd6f526800405c3bd81a2e9 /client/socket.c | |
parent | fe9a58b88cd232e1dffe078a6fa88ded2f62bb90 (diff) | |
download | vdr-plugin-streamdev-v0_4.tar.gz vdr-plugin-streamdev-v0_4.tar.bz2 |
increased client side timeout for TUNE commandv0_4
Diffstat (limited to 'client/socket.c')
-rw-r--r-- | client/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/socket.c b/client/socket.c index f2b5eea..ca30925 100644 --- a/client/socket.c +++ b/client/socket.c @@ -250,7 +250,7 @@ bool cClientSocket::SetChannelDevice(const cChannel *Channel) { std::string command = (std::string)"TUNE " + (const char*)Channel->GetChannelID().ToString(); - if (!Command(command, 220)) { + if (!Command(command, 220, 10000)) { if (errno == 0) esyslog("ERROR: Streamdev: Couldn't tune %s:%d to channel %s", RemoteIp().c_str(), RemotePort(), Channel->Name()); |