Fixed ProvidesChannel() on client always returning true since the new timeout

option has been added.
This commit is contained in:
Frank Schmirler 2012-03-10 23:28:53 +01:00
parent 83b05a6292
commit 173d2cbb7a
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- Fixed ProvidesChannel() on client always returning true since the new timeout
option has been added.
- Updated Finnish translation (thanks to Rolf Ahrenberg) - Updated Finnish translation (thanks to Rolf Ahrenberg)
- With VDR 1.7.25 priorities down to -99 will be used. Please update - With VDR 1.7.25 priorities down to -99 will be used. Please update
"Minimum Priority" in streamdev-client setup. "Minimum Priority" in streamdev-client setup.

View File

@ -192,7 +192,7 @@ bool cClientSocket::ProvidesChannel(const cChannel *Channel, int Priority) {
command.c_str(), RemoteIp().c_str(), RemotePort(), buffer.c_str()); command.c_str(), RemoteIp().c_str(), RemotePort(), buffer.c_str());
return false; return false;
} }
return true; return code == 220;
} }
bool cClientSocket::CreateDataConnection(eSocketId Id) { bool cClientSocket::CreateDataConnection(eSocketId Id) {