Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b28f6e7

Browse files
committed
Properly use &&. Closes bug #434989.
1 parent 01dfdb3 commit b28f6e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/parsermodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@ validate_node(node *tree)
25242524
int res = 1; /* result value */
25252525
node* next = 0; /* node to process after this one */
25262526

2527-
while (res & (tree != 0)) {
2527+
while (res && (tree != 0)) {
25282528
nch = NCH(tree);
25292529
next = 0;
25302530
switch (TYPE(tree)) {

0 commit comments

Comments
 (0)