increased client side timeout for TUNE command

This commit is contained in:
Frank Schmirler
2011-01-27 16:15:25 +01:00
parent d29fecc0a6
commit bbaf3aa12c
2 changed files with 2 additions and 1 deletions

View File

@@ -249,7 +249,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());