summaryrefslogtreecommitdiff
path: root/vdr-vdrmanager/sock.cpp
diff options
context:
space:
mode:
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 0bda8da..be8868b 100644
--- a/vdr-vdrmanager/sock.cpp
+++ b/vdr-vdrmanager/sock.cpp
@@ -20,7 +20,7 @@ cVdrmanagerSocket::~cVdrmanagerSocket() {
}
void cVdrmanagerSocket::Close() {
- if (socket >= 0) {
+ if (sock >= 0) {
close(sock);
sock = -1;
}