return;
}
if (!strcmp(directive, "if")) {
+ ret = 0;
if (!printing) {
if_nesting++;
}
&printing);
if_nesting = 0;
}
- continue;
+ if (!ret)
+ continue;
}
else if (!strcmp(directive, "else")) {
+ ret = 0;
if (!if_nesting) {
ret = handle_else(f, r, error, &conditional_status,
&printing);
}
- continue;
+ if (!ret)
+ continue;
}
else if (!strcmp(directive, "elif")) {
+ ret = 0;
if (!if_nesting) {
ret = handle_elif(f, r, error, &conditional_status,
&printing);
}
- continue;
+ if (!ret)
+ continue;
}
else if (!strcmp(directive, "endif")) {
+ ret = 0;
if (!if_nesting) {
ret = handle_endif(f, r, error, &conditional_status,
&printing);
else {
if_nesting--;
}
- continue;
+ if (!ret)
+ continue;
}
- if (!printing) {
+ else if (!printing) {
continue;
}
- if (!strcmp(directive, "exec")) {
+ else if (!strcmp(directive, "exec")) {
if (noexec) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
"exec used but not allowed in %s",