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 1cd1a9a..ff7e19f 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;