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
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 *
**************************************************/
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 */

@ -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;

Loading…
Cancel
Save