From 5c69e9df5b780ddc59f29074b8f007734f38ed1a Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Mon, 24 Sep 2012 08:23:28 -0600 Subject: [PATCH] Rename handler() -> ini_handler() --- repo_shell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repo_shell.c b/repo_shell.c index ebcb246..a104602 100644 --- a/repo_shell.c +++ b/repo_shell.c @@ -208,7 +208,7 @@ static struct commands { { NULL }, }; -static int handler(void* user, const char* section, const char* name, +static int ini_handler(void* user, const char* section, const char* name, const char* value) { cfg_t* pconfig = (cfg_t*)user; @@ -258,9 +258,9 @@ int main(int argc, char **argv) } #ifdef USE_DEFAULTS - ini_parse("repo_shell.cfg", handler, &cfg); + ini_parse("repo_shell.cfg", ini_handler, &cfg); #else - if (ini_parse(CFG_FILE, handler, &cfg) < 0) + if (ini_parse(CFG_FILE, ini_handler, &cfg) < 0) die("cannot read config file %s", CFG_FILE); #endif -- 2.39.2