mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Remove unused patch
This commit is contained in:
parent
064272f570
commit
d1fc6986cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225161
@ -1,15 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- lib/connection.c.orig
|
||||
+++ lib/connection.c
|
||||
@@ -467,7 +467,8 @@
|
||||
if (error) {
|
||||
network_log(LOG_ERROR, s, "Unable to lookup %s:%s %s",
|
||||
cs->host, cs->port, gai_strerror(error));
|
||||
- freeaddrinfo(addrinfo);
|
||||
+ if(addrinfo)
|
||||
+ freeaddrinfo(addrinfo);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -1,18 +0,0 @@
|
||||
--- src/internals.h.orig Fri Jan 5 06:33:06 2007
|
||||
+++ src/internals.h Fri Jan 5 23:27:32 2007
|
||||
@@ -29,12 +29,13 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <netdb.h>
|
||||
-#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/socket.h>
|
||||
+#include <netinet/in.h>
|
||||
+#include <arpa/inet.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <signal.h>
|
Loading…
Reference in New Issue
Block a user