summaryrefslogtreecommitdiff
path: root/net/aget/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/aget/patches/patch-ac')
-rw-r--r--net/aget/patches/patch-ac30
1 files changed, 0 insertions, 30 deletions
diff --git a/net/aget/patches/patch-ac b/net/aget/patches/patch-ac
deleted file mode 100644
index 7e69975178a..00000000000
--- a/net/aget/patches/patch-ac
+++ /dev/null
@@ -1,30 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2007/06/18 19:00:22 minskim Exp $
-
---- Head.c.orig 2002-11-21 23:38:03.000000000 -0800
-+++ Head.c
-@@ -1,7 +1,7 @@
-
- #define _XOPEN_SOURCE 500
-
--
-+#include <errno.h>
- #include <stdio.h>
- #include <unistd.h>
- #include <stdlib.h>
-@@ -30,7 +30,6 @@
- #include "Misc.h"
-
-
--extern int errno;
- extern int h_errno;
-
-
-@@ -55,7 +54,7 @@ void http_head_req(struct request *req)
- hstrerror(h_errno));
- exit(1);
- }
-- strncpy(req->ip, inet_ntoa(*(struct in_addr *)he->h_addr), MAXIPSIZ);
-+ strncpy(req->ip, inet_ntoa(*(struct in_addr *)he->h_addr_list[0]), MAXIPSIZ);
-
-
- time(&t_start);