summaryrefslogtreecommitdiff
path: root/url.h
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2023-08-29 18:13:30 +0200
committerVincent Douillet <vincent@vdouillet.fr>2023-08-29 18:13:30 +0200
commit2acc8db2762b98eb061241109877527d58a560bc (patch)
tree4f71b3bc0f934b76f839a5ee3640c91b972c1912 /url.h
parent26a77087027327d72d7229866a1ce12ad11a4d63 (diff)
use PATH_MAX
Diffstat (limited to 'url.h')
-rw-r--r--url.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/url.h b/url.h
index f4c5e2d..63e487e 100644
--- a/url.h
+++ b/url.h
@@ -34,8 +34,6 @@
#include <stdbool.h>
#include <stdio.h>
-#define URL_LENGTH_MAX 8192
-
/*
* Checks that the path can be safely processed. Namely, it should not contain
* "..", which denotes an attempt to get out of the DATA_DIR root folder.