awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 7 Oct 2006 15:16:19 +0000 (15:16 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 7 Oct 2006 15:16:19 +0000 (15:16 -0000)
editors/awk.c

index c1b56d9..e74053e 100644 (file)
@@ -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);
        }