summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--client/socket.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index f30000e..d0d04ec 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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) {