summaryrefslogtreecommitdiff
path: root/ham/dpbox/patches/patch-as
blob: e2abcb20ffdfc92c93590a7035ad8d31691a744e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-as,v 1.1 2006/04/21 02:07:54 wulf Exp $

--- box_sf.c.orig	2006-04-14 11:49:12.000000000 +0930
+++ box_sf.c	2006-04-14 11:49:40.000000000 +0930
@@ -3575,7 +3575,7 @@
 
     case '!':   /* send with resume offset  	      */
       w[0]  	= '\0';
-      while (strlen(eingabe) > 1 && isdigit(eingabe[1])) {
+      while (strlen(eingabe) > 1 && isdigit((u_char) eingabe[1])) {
 	sprintf(w + strlen(w), "%c", eingabe[1]);
 	strdelete(eingabe, 1, 1);
       }