summaryrefslogtreecommitdiff
path: root/net/wmwave/files/patch-wmwave.c
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-05-22 21:08:05 +0000
committerPatrick Li <pat@FreeBSD.org>2002-05-22 21:08:05 +0000
commit2ce720ca9004a33ab8cbbd65d39a24610072d937 (patch)
tree6386ba91a3b58a32ac0a58ac0ac033ef35e9dd75 /net/wmwave/files/patch-wmwave.c
parent- Update MASTER_SITES (1) (diff)
Fix socket leak and bump PORTREVISION.
PR: 38370 Submitted by: maintainer
Diffstat (limited to '')
-rw-r--r--net/wmwave/files/patch-wmwave.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/wmwave/files/patch-wmwave.c b/net/wmwave/files/patch-wmwave.c
index e06c0b92cbf3..d48244cb52de 100644
--- a/net/wmwave/files/patch-wmwave.c
+++ b/net/wmwave/files/patch-wmwave.c
@@ -1,5 +1,5 @@
---- wmwave.c.orig Fri Aug 20 09:44:21 1999
-+++ wmwave.c Wed Mar 27 03:31:16 2002
+--- wmwave.c.orig Fri Aug 20 14:44:21 1999
++++ wmwave.c Tue May 21 11:05:44 2002
@@ -1,38 +1,21 @@
/*
+ * $Id$
@@ -52,7 +52,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
-@@ -45,313 +28,393 @@
+@@ -45,313 +28,394 @@
#include <limits.h>
#include <errno.h>
#include <signal.h>
@@ -406,6 +406,7 @@
+ DrawGreenBar(0.0, 4, 55);
+ break;
+ };
++ close(s);
+}
+
+void