summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-03-04 18:53:14 +0100
committerlado <herrlado@gmail.com>2012-03-04 18:53:14 +0100
commitb99c4d7cb555ec7ce3a369edbdf90ada7567f230 (patch)
tree84ff6b8bd130e308bc360e4137ea38c1841e4ce4
parent6f7db9f6a14c414fc91232984f6d33bf2d27e7ef (diff)
parent333d83324710bbdef6f6feea38a9dadc3c01b959 (diff)
downloadvdr-manager-b99c4d7cb555ec7ce3a369edbdf90ada7567f230.tar.gz
vdr-manager-b99c4d7cb555ec7ce3a369edbdf90ada7567f230.tar.bz2
Merge branch 'master' of ssh://projects.vdr-developer.org/vdr-manager
-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;
}