summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e98d393)
raw | patch | inline | side by side (parent: e98d393)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 07:21:19 +0000 (09:21 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 07:21:19 +0000 (09:21 +0200) |
That's more in line with other plugins.
src/collectd.conf.pod | patch | blob | history | |
src/http.c | patch | blob | history |
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 936a6d7b363d673d7b4fbcf108ffd6f972d57944..7115a749a56aa11c93ab92aa5be9b07f63d660d8 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
=over 4
-=item B<Location> I<http://example.com/collectd-import>
+=item B<URL> I<http://example.com/collectd-import>
Set the URL location where values will be sent.
diff --git a/src/http.c b/src/http.c
index 9dc7f80b1f2344becf6a7918e91a593a71b47f39..70dc080cdd06226b6f780cba5b32ac33c0eb1916 100644 (file)
--- a/src/http.c
+++ b/src/http.c
*/
static const char *config_keys[] =
{
- "Location", "User", "Password"
+ "URL", "User", "Password"
};
static int config_keys_num = STATIC_ARRAY_SIZE (config_keys);
static int http_config (const char *key, const char *value) /* {{{ */
{
- if (strcasecmp ("Location", key) == 0)
+ if (strcasecmp ("URL", key) == 0)
{
if (location != NULL)
free (location);