summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2012-03-10 23:28:53 +0100
committerFrank Schmirler <vdr@schmirler.de>2012-03-10 23:28:53 +0100
commit173d2cbb7aa3ff6d39449d618d4a944faa9be517 (patch)
tree24153e71c931392bcda07438f36cf58caf8ccf95 /client
parent83b05a629222b48a045c4f885739ef146d09cd15 (diff)
downloadvdr-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.
Diffstat (limited to 'client')
-rw-r--r--client/socket.c2
1 files changed, 1 insertions, 1 deletions
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) {