chore(http): rename step to http_step

This commit is contained in:
Jef Roosens 2023-11-03 15:02:03 +01:00
parent 72fae76ef6
commit eb9157281b
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@
#include "http_loop.h"
#include "log.h"
const step http_default_res_steps[HTTP_LOOP_MAX_STEPS] = {
const http_step http_default_res_steps[HTTP_LOOP_MAX_STEPS] = {
http_loop_step_write_header, http_loop_step_write_body, NULL};
bool http_loop_handle_request(event_loop_conn *conn) {

View file

@ -106,7 +106,7 @@ void http_loop_handle_response(event_loop_conn *conn) {
http_loop_ctx *ctx = conn->ctx;
// Non-routed requests also need to be processed
const step *steps =
const http_step *steps =
ctx->route != NULL ? ctx->route->steps_res : http_default_res_steps;
while ((conn->state == event_loop_conn_state_res) &&