summaryrefslogtreecommitdiff
path: root/editors/awk.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-07 15:16:19 +0000
committerDenis Vlasenko2006-10-07 15:16:19 +0000
commit890ac9deb2cc57cadd7aba4ee91bd012e19e239d (patch)
tree9e16e22e1ae6d83afe97d9af9e6ff7e025b048e4 /editors/awk.c
parentf7a57848c2a63957ef14b605c5f10b2691d36e73 (diff)
downloadbusybox-890ac9deb2cc57cadd7aba4ee91bd012e19e239d.zip
busybox-890ac9deb2cc57cadd7aba4ee91bd012e19e239d.tar.gz
awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067
Diffstat (limited to 'editors/awk.c')
-rw-r--r--editors/awk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c
index c1b56d9..e74053e 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -1356,7 +1356,7 @@ static node *mk_splitter(char *s, tsplitter *spl)
re = &spl->re[0];
ire = &spl->re[1];
n = &spl->n;
- if ((n->info && OPCLSMASK) == OC_REGEXP) {
+ if ((n->info & OPCLSMASK) == OC_REGEXP) {
regfree(re);
regfree(ire);
}