=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/bgplg/bgplgsh.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/bgplg/bgplgsh.c 2006/12/11 23:10:10 1.1 --- src/usr.bin/bgplg/bgplgsh.c 2006/12/12 11:43:50 1.2 *************** *** 1,4 **** ! /* $OpenBSD: bgplgsh.c,v 1.1 2006/12/11 23:10:10 reyk Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter --- 1,4 ---- ! /* $OpenBSD: bgplgsh.c,v 1.2 2006/12/12 11:43:50 reyk Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter *************** *** 59,66 **** return (0); #define allowed_in_string(_x) \ ! ((isalnum(_x) || isprint(_x)) && \ ! (_x != '%' && _x != '\\' && _x != ';' && _x != '&' && _x != '|')) for (i = 0; i < len; i++) { if (!allowed_in_string(arg[i])) { --- 59,66 ---- return (0); #define allowed_in_string(_x) \ ! ((isalnum(_x) || isprint(_x)) && \ ! (_x != '%' && _x != '\\' && _x != ';' && _x != '&' && _x != '|')) for (i = 0; i < len; i++) { if (!allowed_in_string(arg[i])) {