mirror of https://git.kore.io/kore.git
fatal if the return value from a page handler isn't what we want.
This commit is contained in:
parent
b27322933b
commit
0413de6a8f
|
@ -272,6 +272,8 @@ http_process_request(struct http_request *req, int retry_only)
|
||||||
break;
|
break;
|
||||||
case KORE_RESULT_RETRY:
|
case KORE_RESULT_RETRY:
|
||||||
return;
|
return;
|
||||||
|
default:
|
||||||
|
fatal("A page handler returned an unknown result: %d", r);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hdlr != NULL && hdlr->dom->accesslog != -1)
|
if (hdlr != NULL && hdlr->dom->accesslog != -1)
|
||||||
|
|
Loading…
Reference in New Issue