summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-08-13 15:58:44 +0300
committerValentin Bartenev <vbart@nginx.com>2017-08-13 15:58:44 +0300
commite2653f7ba5b8b97b03022b9a6e70e0196fb21c67 (patch)
treef312dd910e5fab97d259cbbdb50b512790cca210
parent80deee3903e70287f18e0d296d53caae077e6f99 (diff)
downloadunit-e2653f7ba5b8b97b03022b9a6e70e0196fb21c67.tar.gz
unit-e2653f7ba5b8b97b03022b9a6e70e0196fb21c67.tar.bz2
Fixed building by GCC after 7d1017bd0f6c.
Diffstat (limited to '')
-rw-r--r--src/nxt_controller.c2
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;
}