diff options
author | Frank Schmirler <vdr@schmirler.de> | 2012-03-10 23:28:53 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2012-03-10 23:28:53 +0100 |
commit | 173d2cbb7aa3ff6d39449d618d4a944faa9be517 (patch) | |
tree | 24153e71c931392bcda07438f36cf58caf8ccf95 | |
parent | 83b05a629222b48a045c4f885739ef146d09cd15 (diff) | |
download | vdr-plugin-streamdev-173d2cbb7aa3ff6d39449d618d4a944faa9be517.tar.gz vdr-plugin-streamdev-173d2cbb7aa3ff6d39449d618d4a944faa9be517.tar.bz2 |
Fixed ProvidesChannel() on client always returning true since the new timeout
option has been added.
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | client/socket.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ 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) - With VDR 1.7.25 priorities down to -99 will be used. Please update "Minimum Priority" in streamdev-client setup. diff --git a/client/socket.c b/client/socket.c index 727ffb6..5662716 100644 --- a/client/socket.c +++ b/client/socket.c @@ -192,7 +192,7 @@ bool cClientSocket::ProvidesChannel(const cChannel *Channel, int Priority) { command.c_str(), RemoteIp().c_str(), RemotePort(), buffer.c_str()); return false; } - return true; + return code == 220; } bool cClientSocket::CreateDataConnection(eSocketId Id) { |