From: Adam Dickmeiss Date: Wed, 23 Sep 2009 07:53:54 +0000 (+0200) Subject: Rename function X-Git-Tag: v1.2.1~37 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=12d4ff5296561541d61de218d6fb313fdb8764db;p=pazpar2-moved-to-github.git Rename function --- diff --git a/src/pazpar2_config.c b/src/pazpar2_config.c index 84fad66..baf834d 100644 --- a/src/pazpar2_config.c +++ b/src/pazpar2_config.c @@ -627,8 +627,8 @@ static void inherit_server_settings(struct conf_server *server) } } -static struct conf_server *parse_server(struct conf_config *config, - NMEM nmem, xmlNode *node) +static struct conf_server *server_create(struct conf_config *config, + NMEM nmem, xmlNode *node) { xmlNode *n; struct conf_server *server = nmem_malloc(nmem, sizeof(struct conf_server)); @@ -821,7 +821,7 @@ static int parse_config(struct conf_config *config, xmlNode *root) continue; if (!strcmp((const char *) n->name, "server")) { - struct conf_server *tmp = parse_server(config, config->nmem, n); + struct conf_server *tmp = server_create(config, config->nmem, n); if (!tmp) return -1; tmp->next = config->servers;