diff options
-rw-r--r-- | vdr-vdrmanager/sock.cpp | 2 |
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; } |