summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/run.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-07-30 06:47:03 +0000
committerru <ru@FreeBSD.org>2003-07-30 06:47:03 +0000
commit6247f7406311e6b59676be460a1e9394a5a1fe8f (patch)
treecab265f99f6731de1c61b382e08586a6f6d799bc /contrib/one-true-awk/run.c
parent153c5b8c9d890db78d0bdbc64269ada6c08661bf (diff)
downloadFreeBSD-src-6247f7406311e6b59676be460a1e9394a5a1fe8f.zip
FreeBSD-src-6247f7406311e6b59676be460a1e9394a5a1fe8f.tar.gz
Vendor import of bwk's 29-Jul-2003 release.
Diffstat (limited to 'contrib/one-true-awk/run.c')
-rw-r--r--contrib/one-true-awk/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/one-true-awk/run.c b/contrib/one-true-awk/run.c
index 617ac7d..066cb01 100644
--- a/contrib/one-true-awk/run.c
+++ b/contrib/one-true-awk/run.c
@@ -1221,7 +1221,7 @@ Cell *split(Node **a, int nnn) /* split(a[0], a[1], a[2]); a[3] is type */
ap->sval = (char *) makesymtab(NSYMTAB);
n = 0;
- if ((*s != '\0' && strlen(fs) > 1) || arg3type == REGEXPR) { /* reg expr */
+ if (*s != '\0' && (strlen(fs) > 1 || arg3type == REGEXPR)) { /* reg expr */
fa *pfa;
if (arg3type == REGEXPR) { /* it's ready already */
pfa = (fa *) a[2];
OpenPOWER on IntegriCloud