mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-14 15:09:58 +02:00
Everywhere: Use session->path()
This commit is contained in:
@@ -123,7 +123,7 @@ U0 @slon_local_server_get(SlonHttpSession* session)
|
||||
SLON_SCRATCH_BUFFER_AND_REQUEST_JSON
|
||||
no_warn request_json;
|
||||
|
||||
U8* path = @slon_http_request_path(session);
|
||||
U8* path = session->path();
|
||||
|
||||
if (!path || !StrLen(path) || StrFind(":", path) > 0) {
|
||||
@slon_local_server_not_found(session);
|
||||
|
||||
Reference in New Issue
Block a user