chore: de-dunder current_sandbox

main
Sean McBride 5 years ago
parent 4615c4736d
commit 06de754885

@ -137,7 +137,7 @@ current_sandbox_get_libuv_handle(int io_handle_index)
static inline int static inline int
current_sandbox_get_http_request_body(char **body) current_sandbox_get_http_request_body(char **body)
{ {
return http_request__get_body(&current_sandbox_get()->http_request, body); return http_request_get_body(&current_sandbox_get()->http_request, body);
} }

@ -26,6 +26,6 @@ struct http_request {
/*************************************************** /***************************************************
* General HTTP Request Functions * * 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 */ #endif /* SFRT_HTTP_HEADER_H */

@ -11,7 +11,7 @@
* @returns the length of the http_request's body * @returns the length of the http_request's body
**/ **/
int 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; *body = http_request->body;
return http_request->body_length; return http_request->body_length;

Loading…
Cancel
Save