Code

write_riemann: reorder host struct
authorPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 13 Apr 2016 21:22:33 +0000 (23:22 +0200)
committerPierre-Yves Ritschard <pyr@spootnik.org>
Wed, 13 Apr 2016 21:22:33 +0000 (23:22 +0200)
src/write_riemann.c

index 1cd1a9acab98143f314b8a8752a1214b5d63f79e..ff7e19f069dab73f9a4fec9d49c53b82f6bab9b1 100644 (file)
@@ -46,6 +46,7 @@
 #define RIEMANN_BATCH_MAX      8192
 
 struct riemann_host {
+    c_complain_t init_complaint;
        char                    *name;
        char                    *event_service_prefix;
        pthread_mutex_t  lock;
@@ -56,7 +57,6 @@ struct riemann_host {
        _Bool                    always_append_ds;
        char                    *node;
        int                      port;
-    c_complain_t init_complaint;
        riemann_client_type_t    client_type;
        riemann_client_t        *client;
        double                   ttl_factor;