commit 856d7b0cb2c1aa326346505e7db6615630e7230d
parent 210fb05a35d7968ce546b988ca4ae0b487462215
Author: Joris Vink <joris@coders.se>
Date: Thu, 14 Aug 2014 11:20:04 +0200
Rename HTTP_STATE_OK to HTTP_STATE_CONTINUE
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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;