aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c/request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/request.c')
-rw-r--r--src/c/request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/request.c b/src/c/request.c
index 813d967c..5aee7bbe 100644
--- a/src/c/request.c
+++ b/src/c/request.c
@@ -212,10 +212,10 @@ void uw_request_init(uw_app *app, uw_loggers* ls) {
}
-typedef struct uw_rc {
+struct uw_rc {
size_t path_copy_size, queryString_size;
char *path_copy, *queryString;
-} *uw_request_context;
+};
uw_request_context uw_new_request_context(void) {
uw_request_context r = malloc(sizeof(struct uw_rc));