diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-07-05 09:32:26 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2019-07-05 15:25:38 +0200 |
commit | 9ed5c8cc0f25e77e8ba79a3141ed36d9ff4d0a5e (patch) | |
tree | befebb54f214326908c84f09cc8417c9f401d157 /src/plugins/influxdb.h | |
parent | 2dfb8619ff8e12cae575b75d091a7f04d028f075 (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.h | 6 |
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)); |