aboutsummaryrefslogtreecommitdiff
path: root/src/tool_urlglob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_urlglob.h')
-rw-r--r--src/tool_urlglob.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tool_urlglob.h b/src/tool_urlglob.h
index 9c37f1560..9c0813750 100644
--- a/src/tool_urlglob.h
+++ b/src/tool_urlglob.h
@@ -53,9 +53,12 @@ typedef struct {
} content;
} URLPattern;
+/* the total number of globs supported */
+#define GLOB_PATTERN_NUM 9
+
typedef struct {
char *literal[10];
- URLPattern pattern[9];
+ URLPattern pattern[GLOB_PATTERN_NUM+1];
size_t size;
size_t urllen;
char *glob_buffer;