summaryrefslogtreecommitdiff
path: root/src/config/repo.c
diff options
context:
space:
mode:
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() ;
}