summaryrefslogtreecommitdiff
path: root/x11/xmx/patches/patch-ba
blob: 135673478cc8b3d3d618ad04ed489463d9743d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ba,v 1.1 2008/08/31 06:52:29 dholland Exp $

--- server/args.c~	1998-03-27 10:11:58.000000000 -0500
+++ server/args.c	2008-08-31 00:25:23.000000000 -0400
@@ -686,6 +686,9 @@ tok
                buf[i++] = (char)ch;
             break;
       }
-   return (char *)err(0, "tok: token too long\n");
+   /* this err() returns its first arg */
+   /*return (char *)err(0, "tok: token too long\n");*/
+   err(0, "tok: token too long\n");
+   return NULL;
 }
 #undef MAXTOKLEN