commit ff4512ee906ba02533eb86442ce95862a443f1d2
parent ce5fdeb4469ecc6967d09d0aea9d29babb1ab5fc
Author: Russ Cox <rsc@swtch.com>
Date: Sun, 10 Jul 2011 20:32:01 -0400
acme: fix out of order address crash
R=rsc
http://codereview.appspot.com/4690042
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/acme/addr.c b/src/cmd/acme/addr.c
@@ -27,7 +27,7 @@ enum
int
isaddrc(int r)
{
- if(r && utfrune("0123456789+-/$.#,;", r)!=nil)
+ if(r && utfrune("0123456789+-/$.#,;?", r)!=nil)
return TRUE;
return FALSE;
}