X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fwrite_riemann.c;h=0ed02603283036d0060b16c75849e87272372260;hb=c6d13fbae8ca35535bcd9ae857985c78051db872;hp=10f89587b68c5d143bad251cb5ac89085dfccb6d;hpb=1bdfcf9791729310f75857d0e002c40ef659a89b;p=collectd.git diff --git a/src/write_riemann.c b/src/write_riemann.c index 10f89587..0ed02603 100644 --- a/src/write_riemann.c +++ b/src/write_riemann.c @@ -31,7 +31,6 @@ #include "collectd.h" #include "common.h" -#include "configfile.h" #include "plugin.h" #include "utils_cache.h" #include "utils_complain.h" @@ -112,6 +111,8 @@ static int wrr_connect(struct riemann_host *host) /* {{{ */ } } + set_sock_opts(riemann_client_get_fd(host->client)); + c_release(LOG_INFO, &host->init_complaint, "write_riemann plugin: Successfully connected to %s:%d", node, port);