From 06de754885904d87871a580498502774f5ffdd21 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 19 Mar 2020 11:34:31 -0400 Subject: [PATCH] chore: de-dunder current_sandbox --- runtime/include/current_sandbox.h | 2 +- runtime/include/http_request.h | 2 +- runtime/src/http_request.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/include/current_sandbox.h b/runtime/include/current_sandbox.h index 50eb2ce..ad768d5 100644 --- a/runtime/include/current_sandbox.h +++ b/runtime/include/current_sandbox.h @@ -137,7 +137,7 @@ current_sandbox_get_libuv_handle(int io_handle_index) static inline int current_sandbox_get_http_request_body(char **body) { - return http_request__get_body(¤t_sandbox_get()->http_request, body); + return http_request_get_body(¤t_sandbox_get()->http_request, body); } diff --git a/runtime/include/http_request.h b/runtime/include/http_request.h index 2d0c7d2..f14ffb9 100644 --- a/runtime/include/http_request.h +++ b/runtime/include/http_request.h @@ -26,6 +26,6 @@ struct http_request { /*************************************************** * General HTTP Request Functions * **************************************************/ -int http_request__get_body(struct http_request *http_request, char **body); +int http_request_get_body(struct http_request *http_request, char **body); #endif /* SFRT_HTTP_HEADER_H */ diff --git a/runtime/src/http_request.c b/runtime/src/http_request.c index bff2ee1..84c77b3 100644 --- a/runtime/src/http_request.c +++ b/runtime/src/http_request.c @@ -11,7 +11,7 @@ * @returns the length of the http_request's body **/ int -http_request__get_body(struct http_request *http_request, char **body) +http_request_get_body(struct http_request *http_request, char **body) { *body = http_request->body; return http_request->body_length;