From: Florian Forster Date: Fri, 3 Feb 2012 09:52:18 +0000 (+0100) Subject: write_graphite plugin: Remove the unused "server" field. X-Git-Tag: collectd-5.1.0~35^2~16 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=917f8784060b467e67b4b05429ddd120be4bb845;p=collectd.git write_graphite plugin: Remove the unused "server" field. Change-Id: I6ae59f4a2f6be69f891bbfa16afddc5ec9be9bad --- diff --git a/src/write_graphite.c b/src/write_graphite.c index 502e22c3..de460d7c 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -81,7 +81,6 @@ struct wg_callback { int sock_fd; - struct hostent *server; char *node; char *service; @@ -636,7 +635,6 @@ static int wg_config_carbon (oconfig_item_t *ci) cb->service = NULL; cb->prefix = NULL; cb->postfix = NULL; - cb->server = NULL; cb->escape_char = '_'; pthread_mutex_init (&cb->send_lock, /* attr = */ NULL);