aboutsummaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-08-26 22:33:07 -0500
committerame <[email protected]>2024-08-26 22:33:07 -0500
commit6cbc0f817066b8bbab84a9be466223652b628d42 (patch)
tree893fe45044ce5869246328f82eca2e7b78f02dd6 /src/net.c
parent7a15e796e8789b51a459af7fe890e02a416e1fc7 (diff)
initial param matching
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.c b/src/net.c
index 7db887b..2966905 100644
--- a/src/net.c
+++ b/src/net.c
@@ -70,7 +70,8 @@ void* handle_client(void *_arg){
str_push(aa, sk->c);
- void* v = parray_find(paths, aa->c);
+ //parray_t* v = parray_find(paths, aa->c);
+ parray_t* v = route_match(paths, aa->c);
if(sT != NULL)
rolling_file_parse(L, &files_idx, &body_idx, buffer + header_eof + 4, sT, bytes_received - header_eof - 4, file_cont);