fatal if the return value from a page handler isn't what we want.

This commit is contained in:
Joris Vink 2014-08-05 14:17:23 +02:00
parent b27322933b
commit 0413de6a8f
1 changed files with 2 additions and 0 deletions

View File

@ -272,6 +272,8 @@ http_process_request(struct http_request *req, int retry_only)
break;
case KORE_RESULT_RETRY:
return;
default:
fatal("A page handler returned an unknown result: %d", r);
}
if (hdlr != NULL && hdlr->dom->accesslog != -1)