aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vdr-plugin-vdrmanager/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 05:25:15 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 05:25:15 +0000
commit9d5dbf1d9dbedde969bca88046980a3dfc58c3fc (patch)
treeb67ff2c620a7d9807ec773482da9b0aab7ddb4ef /multimedia/vdr-plugin-vdrmanager/files
parent7b2292ce8b478234e12080eb3ae72df2925caa65 (diff)
downloadports-9d5dbf1d9dbedde969bca88046980a3dfc58c3fc.tar.gz
ports-9d5dbf1d9dbedde969bca88046980a3dfc58c3fc.zip
Notes
Diffstat (limited to 'multimedia/vdr-plugin-vdrmanager/files')
-rw-r--r--multimedia/vdr-plugin-vdrmanager/files/patch-sock.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-vdrmanager/files/patch-sock.cpp b/multimedia/vdr-plugin-vdrmanager/files/patch-sock.cpp
new file mode 100644
index 000000000000..81fb413f1502
--- /dev/null
+++ b/multimedia/vdr-plugin-vdrmanager/files/patch-sock.cpp
@@ -0,0 +1,17 @@
+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;
+ }