summaryrefslogtreecommitdiff
path: root/www/wwwoffle/patches/patch-ac
blob: cd04746207542df1fae4da00c1bc1a93ab26f6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.1 2001/08/14 04:51:46 fredb Exp $

--- sockets6.c.orig	Mon Aug 13 23:16:47 2001
+++ sockets6.c
@@ -507,9 +507,12 @@
  struct sigaction action;
  static char _host[NI_MAXHOST],_ip[46],_port[12];
 
- *host="(unknown)";
- *ip="(unknown)";
- *port="0";
+ if(host)
+   *host="(unknown)";
+ if(ip)
+   *ip="(unknown)";
+ if(port)
+   *port="0";
 
 start: