summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}