pkgsrc/net/ywho/patches/patch-aa
2006-05-10 06:13:51 +00:00

21 lines
461 B
Text

$NetBSD: patch-aa,v 1.1 2006/05/10 06:13:51 minskim Exp $
--- ywho.c.orig 2000-12-17 17:03:10.000000000 +0000
+++ ywho.c
@@ -351,7 +351,7 @@ char *argv[];
}
else
addhost(argv[i]);
-nextarg:
+nextarg:;
}
if (hosts == NIL(hosts_t)) {
@@ -650,7 +650,6 @@ unsigned nth;
{
#ifndef lint
char *ptr;
- extern char *malloc();
if ((ptr = malloc(nth)) == NIL(char)) {
(void) fprintf(stderr, "%s: Out of memory.\n", pname);