1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix crash with testlo

- Bump PORTREVISION

PR:             108219
Submitted by:   trasz (maintainer)
This commit is contained in:
Martin Wilke 2007-01-23 16:16:20 +00:00
parent edd0846ec9
commit afc04cfe3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183093
2 changed files with 13 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= liblo
PORTVERSION= 0.23
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= liblo

View File

@ -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) {