From: octo Date: Mon, 20 Mar 2006 23:16:16 +0000 (+0000) Subject: Fixed dumb typos in src/apache.c: Passed reference to argument to config_set instead... X-Git-Tag: collectd-3.8.6^2~97 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7466a24b81b58d134dfff1170fc1b0c5c503dd51;p=collectd.git Fixed dumb typos in src/apache.c: Passed reference to argument to config_set instead &url. Also, mistyped `url' often as `uri'. --- 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)