diff --git a/includes/http.h b/includes/http.h index 81ec648..9ee0d9e 100644 --- a/includes/http.h +++ b/includes/http.h @@ -38,7 +38,7 @@ #define HTTP_ARG_TYPE_UINT64 8 #define HTTP_STATE_ERROR 0 -#define HTTP_STATE_OK 1 +#define HTTP_STATE_CONTINUE 1 #define HTTP_STATE_COMPLETE 2 #define HTTP_STATE_RETRY 3 diff --git a/src/http.c b/src/http.c index f587e52..7e33c16 100644 --- a/src/http.c +++ b/src/http.c @@ -973,7 +973,7 @@ http_state_run(struct http_state *states, u_int8_t elm, return (KORE_RESULT_OK); case HTTP_STATE_RETRY: return (KORE_RESULT_RETRY); - case HTTP_STATE_OK: + case HTTP_STATE_CONTINUE: break; case HTTP_STATE_COMPLETE: done = 1;