diff options
author | Valentin Bartenev <vbart@nginx.com> | 2017-08-13 15:58:44 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2017-08-13 15:58:44 +0300 |
commit | e2653f7ba5b8b97b03022b9a6e70e0196fb21c67 (patch) | |
tree | f312dd910e5fab97d259cbbdb50b512790cca210 /src/nxt_controller.c | |
parent | 80deee3903e70287f18e0d296d53caae077e6f99 (diff) | |
download | unit-e2653f7ba5b8b97b03022b9a6e70e0196fb21c67.tar.gz unit-e2653f7ba5b8b97b03022b9a6e70e0196fb21c67.tar.bz2 |
Fixed building by GCC after 7d1017bd0f6c.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r-- | src/nxt_controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c index 876c037f..3c9097fb 100644 --- a/src/nxt_controller.c +++ b/src/nxt_controller.c @@ -930,7 +930,7 @@ nxt_controller_response(nxt_task_t *task, nxt_controller_request_t *req, nxt_str_set(&status_line, "405 Method Not Allowed"); break; - case 500: + default: nxt_str_set(&status_line, "500 Internal Server Error"); break; } |