diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-10 16:49:39 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2023-04-10 16:49:39 +0200 |
commit | 3f1d323497e5aefce65a3758d1bc408130d9bbe0 (patch) | |
tree | 4b07e58ed00debd434c1a383ca91cc767bf23ea5 | |
parent | bf378f4350b0e92efcefd9c0c34f7b5c57c098f4 (diff) |
sfeed.c: slightly reduce stack size for entities
A numeric entity could be 5 bytes, so use a round number of 8 bytes.
No other change intended and no performance difference noticed.
-rw-r--r-- | sfeed.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -754,7 +754,7 @@ static void xmlattrentity(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl, const char *data, size_t datalen) { - char buf[16]; + char buf[8]; int len; /* handles transforming inline XML to data */ @@ -831,7 +831,7 @@ xmldata(XMLParser *p, const char *s, size_t len) static void xmldataentity(XMLParser *p, const char *data, size_t datalen) { - char buf[16]; + char buf[8]; int len; if (!ctx.field) |