From 917f8784060b467e67b4b05429ddd120be4bb845 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 3 Feb 2012 10:52:18 +0100 Subject: [PATCH] write_graphite plugin: Remove the unused "server" field. Change-Id: I6ae59f4a2f6be69f891bbfa16afddc5ec9be9bad --- src/write_graphite.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.30.2