aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/repo.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-10-23 12:30:58 +0000
committerLaurent Bercot <ska@appnovation.com>2023-10-23 12:30:58 +0000
commit907f1c64369095b5b2d5f6fb23a8b937720d94cc (patch)
treecb4eebe2b754040af876b3069233b176597b9d4e /src/config/repo.c
parent12891d0e8551e3d6bb7bf1429f936e04be4da8b5 (diff)
downloadtipidee-907f1c64369095b5b2d5f6fb23a8b937720d94cc.tar.gz
More tipidee-config refactoring, headers functions are clean
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/config/repo.c')
-rw-r--r--src/config/repo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/repo.c b/src/config/repo.c
index a3ba390..9b411e8 100644
--- a/src/config/repo.c
+++ b/src/config/repo.c
@@ -26,10 +26,10 @@ node const *repo_search (repo const *r, char const *key)
return avltree_search(&r->tree, key, &i) ? genalloc_s(node const, &r->ga) + i : 0 ;
}
-void repo_add (repo *r, node const *node)
+void repo_add (repo *r, node const *nod)
{
uint32_t i = genalloc_len(node, &r->ga) ;
- if (!genalloc_append(node, &r->ga, node)) dienomem() ;
+ if (!genalloc_append(node, &r->ga, nod)) dienomem() ;
if (!avltree_insert(&r->tree, i)) dienomem() ;
}