diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-09 22:32:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-09 22:32:53 +0000 |
commit | 0215be619ffd3d3427a6e8c39aa07aac02380cdf (patch) | |
tree | c08204134e0e1e1ba08b671db728bc47d4967dd4 /usr.sbin/hoststated | |
parent | a6c917daee50fb5ed081169a1019666a8bfcd23a (diff) |
use macro argument
Diffstat (limited to 'usr.sbin/hoststated')
-rw-r--r-- | usr.sbin/hoststated/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/parse.y b/usr.sbin/hoststated/parse.y index 67411ba6c02..fa1103b827a 100644 --- a/usr.sbin/hoststated/parse.y +++ b/usr.sbin/hoststated/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.60 2007/10/05 15:50:56 reyk Exp $ */ +/* $OpenBSD: parse.y,v 1.61 2007/10/09 22:32:52 deraadt Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -1417,7 +1417,7 @@ top: } #define allowed_to_end_number(x) \ - (isspace(x) || c == ')' || c ==',' || c == '/' || c == '}') + (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}') if (c == '-' || isdigit(c)) { do { |