summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb.h
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2019-07-05 09:32:26 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2019-08-01 17:45:11 +0200
commit132d8131ae287bb0ab148aef545b9337e9703db6 (patch)
tree557c41a338b210eae081843e7d9d1dd9e7ee54ec /src/plugins/influxdb.h
parent4bcea9804e13134d2e0f45ae158c17825cff1b76 (diff)
Add comments and re-ident code
Change-Id: Ibb4636bd968d6e4fd564ab40d5cf59e5a6ec6210 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'src/plugins/influxdb.h')
-rw-r--r--src/plugins/influxdb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/influxdb.h b/src/plugins/influxdb.h
index 3c60e27..781ab29 100644
--- a/src/plugins/influxdb.h
+++ b/src/plugins/influxdb.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018 "IoT.bzh"
+ * Copyright (C) 2018-2019 "IoT.bzh"
* Author "Romain Forlot" <romain.forlot@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,8 +19,8 @@
#define _INFLUXDB_H_
#define _GNU_SOURCE
-#include <string.h>
#include <stdbool.h>
+#include <string.h>
#include "../utils/list.h"
#include "ctl-plugin.h"
@@ -113,7 +113,7 @@ static inline void concatenate(char* dest, const char* source, const char* sep)
static inline void concatenate_str(char* dest, const char* source, const char* sep)
{
- char* esc_source;
+ char* esc_source;
if (sep)
strncat(dest, sep, strlen(sep));