aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liblo/files
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-01-24 00:16:20 +0800
committermiwi <miwi@FreeBSD.org>2007-01-24 00:16:20 +0800
commit85be407d96de08384f8841dc0203bec6b85ee8a0 (patch)
tree2535207624247c2cffdd2c21de7dd55a3f74d5ac /audio/liblo/files
parent0f9e000a6d93fd19023013c9deebb22f59aa6223 (diff)
downloadfreebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.tar.gz
freebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.tar.zst
freebsd-ports-gnome-85be407d96de08384f8841dc0203bec6b85ee8a0.zip
- Fix crash with testlo
- Bump PORTREVISION PR: 108219 Submitted by: trasz (maintainer)
Diffstat (limited to 'audio/liblo/files')
-rw-r--r--audio/liblo/files/patch-src-server.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/audio/liblo/files/patch-src-server.c b/audio/liblo/files/patch-src-server.c
index c17f88f9de95..8cbd47bff783 100644
--- a/audio/liblo/files/patch-src-server.c
+++ b/audio/liblo/files/patch-src-server.c
@@ -1,6 +1,16 @@
--- src/server.c.orig Thu Jan 26 16:00:28 2006
-+++ src/server.c Fri Jan 19 13:56:05 2007
-@@ -639,38 +639,11 @@
++++ src/server.c Mon Jan 22 20:13:09 2007
+@@ -342,7 +342,8 @@
+ lo_method next;
+
+ if (s->socket != -1) close(s->socket);
+- freeaddrinfo(s->ai);
++ if (s->ai)
++ freeaddrinfo(s->ai);
+ free(s->hostname);
+ free(s->path);
+ for (it = s->first; it; it = next) {
+@@ -639,38 +640,11 @@
//inet_ntop(s->addr.ss_family, &s->addr.padding, hostname, sizeof(hostname));
if (s->protocol == LO_UDP) {