From 7466a24b81b58d134dfff1170fc1b0c5c503dd51 Mon Sep 17 00:00:00 2001 From: octo Date: Mon, 20 Mar 2006 23:16:16 +0000 Subject: [PATCH] Fixed dumb typos in src/apache.c: Passed reference to argument to config_set instead &url. Also, mistyped `url' often as `uri'. --- src/apache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apache.c b/src/apache.c index dd5e2c72..e27350d3 100644 --- a/src/apache.c +++ b/src/apache.c @@ -72,7 +72,7 @@ static int scoreboard_ds_num = 1; static char *config_keys[] = { - "URI", + "URL", "User", "Password", NULL @@ -115,8 +115,8 @@ static int config_set (char **var, char *value) static int config (char *key, char *value) { - if (strcasecmp (key, "uri") == 0) - return (config_set (&key, value)); + if (strcasecmp (key, "url") == 0) + return (config_set (&url, value)); else if (strcasecmp (key, "user") == 0) return (config_set (&user, value)); else if (strcasecmp (key, "password") == 0) -- 2.30.2