summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/sock.cpp
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-04-03 09:58:02 +0200
committerlado <herrlado@gmail.com>2013-04-03 09:58:02 +0200
commit17c8d505c9bb272c520a778b58d3e8a579f89fab (patch)
treea2a6abe974854a27e5fcf9f2f62d07ac047354d8 /vdr-vdrmanager/sock.cpp
parent10164a068cead3c4b64e01b09faf2c418adc8ea2 (diff)
downloadvdr-manager-17c8d505c9bb272c520a778b58d3e8a579f89fab.tar.gz
vdr-manager-17c8d505c9bb272c520a778b58d3e8a579f89fab.tar.bz2
current changes
Diffstat (limited to 'vdr-vdrmanager/sock.cpp')
-rw-r--r--vdr-vdrmanager/sock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdr-vdrmanager/sock.cpp b/vdr-vdrmanager/sock.cpp
index 2102c36..a860b53 100644
--- a/vdr-vdrmanager/sock.cpp
+++ b/vdr-vdrmanager/sock.cpp
@@ -303,7 +303,7 @@ int cVdrmanagerClientSocket::GetClientId() {
}
bool cVdrmanagerClientSocket::WritePending() {
- return sendoffset < sendsize;
+ return sendsize > 0;
}
bool cVdrmanagerClientSocket::IsLoggedIn() {