Removed noisy debug messages

This commit is contained in:
Frank Schmirler 2013-10-21 22:21:12 +02:00
parent 5e5070edc0
commit 69b654d539
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- Removed noisy debug messages
- Fixed HTTP menu destruction
- API change of VDR 2.1.2
- Fixed priority handling, messed up when adding multi-device support

View File

@ -115,18 +115,15 @@ bool cClientSocket::CheckConnection(void) {
if (IsOpen()) {
cTBSelect select;
Dprintf("connection open\n");
// XXX+ check if connection is still alive (is there a better way?)
// There REALLY shouldn't be anything readable according to PROTOCOL here
// If there is, assume it's an eof signal (subseq. read would return 0)
select.Add(*this, false);
int res;
if ((res = select.Select(0)) == 0) {
Dprintf("select said nothing happened\n");
return true;
}
Dprintf("closing connection (res was %d)", res);
Dprintf("closing connection (res was %d)\n", res);
Close();
}