reduce stack size a bit - webdump - HTML to plain-text converter for webpages
HTML git clone git://git.codemadness.org/webdump
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 178ee8229bd4e0cf0cb8dae6a979ccb473b9bf10
DIR parent 0f038037edcb9d876ced704462f8daf4f2d2c4b2
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 22 May 2024 18:46:21 +0200
reduce stack size a bit
Diffstat:
M webdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/webdump.c b/webdump.c
@@ -228,7 +228,7 @@ static char rbuf[1024];
static int rbuflen;
static int rnbufcells; /* pending cell count to add */
-#define MAX_NODE_DEPTH 65535 /* absolute maximum node depth */
+#define MAX_NODE_DEPTH 4096 /* absolute maximum node depth */
static struct node *nodes; /* node tree (one per level is remembered) */
static String *nodes_links; /* keep track of links per node */
static size_t ncapnodes; /* current allocated node capacity */