| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/multimedia/vdr-plugin-vdrmanager/files/ |
Upload File : |
From 333d83324710bbdef6f6feea38a9dadc3c01b959 Mon Sep 17 00:00:00 2001
From: bju <bju@maxi.fritz.box>
Date: Tue, 24 Jan 2012 23:06:34 +0100
Subject: Close() has used socket (method pointer) and not sock (variable) to
check if close() should be called.
--- a/sock.cpp.orig 2011-12-28 15:11:48 UTC
+++ b/sock.cpp
@@ -20,7 +20,7 @@ cVdrmanagerSocket::~cVdrmanagerSocket()
}
void cVdrmanagerSocket::Close() {
- if (socket >= 0) {
+ if (sock >= 0) {
close(sock);
sock = -1;
}