Skip to content

Commit

Permalink
chore(http): updated due to core library updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Water-Melon committed Nov 24, 2023
1 parent 249052b commit 075f02e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib_src/http/mln_lang_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static inline int mln_lang_http_parse_request_result_build_version(mln_lang_ctx_
static inline int mln_lang_http_parse_request_result_build_uri(mln_lang_ctx_t *ctx, mln_lang_array_t *arr, mln_http_t *http);
static inline int mln_lang_http_parse_request_result_build_args(mln_lang_ctx_t *ctx, mln_lang_array_t *arr, mln_http_t *http);
static inline int mln_lang_http_parse_result_build_headers(mln_lang_ctx_t *ctx, mln_lang_array_t *arr, mln_http_t *http);
static int mln_lang_http_parse_result_build_headers_iterate(void *k, void *v, void *udata);
static int mln_lang_http_parse_result_build_headers_iterate(mln_hash_t *h, void *k, void *v, void *udata);
static inline int mln_lang_http_parse_result_build_body(mln_lang_ctx_t *ctx, mln_lang_array_t *arr, mln_http_t *http);
static inline int mln_lang_http_parse_response_result_build(mln_lang_ctx_t *ctx, mln_http_t *http, mln_lang_array_t *arr);
static inline int mln_lang_http_parse_response_result_build_version(mln_lang_ctx_t *ctx, mln_lang_array_t *arr, mln_http_t *http);
Expand Down Expand Up @@ -514,7 +514,7 @@ static inline int mln_lang_http_parse_result_build_headers(mln_lang_ctx_t *ctx,
return 0;
}

static int mln_lang_http_parse_result_build_headers_iterate(void *k, void *v, void *udata)
static int mln_lang_http_parse_result_build_headers_iterate(mln_hash_t *h, void *k, void *v, void *udata)
{
mln_lang_array_t *arr = (mln_lang_array_t *)udata;
mln_lang_ctx_t *ctx = arr->ctx;
Expand Down

0 comments on commit 075f02e

Please sign in to comment.