diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-10-13 17:02:23 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2023-10-13 17:02:23 +0000 |
| commit | 5fa0059f75261c78e15ecd9990cd72f1ece4a5e4 (patch) | |
| tree | 1d40443108801bef10b829b30aa843fcf626a461 /src/config/confnode.c | |
| parent | ff9c276c144bc24c70f1d5b531a8fd412c34c3d9 (diff) | |
| download | tipidee-5fa0059f75261c78e15ecd9990cd72f1ece4a5e4.tar.gz | |
With fewer bugs
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/confnode.c')
| -rw-r--r-- | src/config/confnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/confnode.c b/src/config/confnode.c index 2d5aeea..abcf962 100644 --- a/src/config/confnode.c +++ b/src/config/confnode.c @@ -29,6 +29,6 @@ void confnode_start (confnode *node, char const *key, size_t filepos, uint32_t l void confnode_add (confnode *node, char const *s, size_t len) { if (!stralloc_catb(&g.storage, s, len)) dienomem() ; - if (g.storage.len >= UINT32_MAX) strerr_diefu1x(100, "add node to configuration tree: too much data") ; + if (g.storage.len >= UINT32_MAX) diestorage() ; node->datalen += len ; } |
