projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
varnish plugin: Add informative warnings to the config handling.
[collectd.git]
/
src
/
write_sensu.c
diff --git
a/src/write_sensu.c
b/src/write_sensu.c
index
c427467
..
d37792b
100644
(file)
--- a/
src/write_sensu.c
+++ b/
src/write_sensu.c
@@
-35,7
+35,6
@@
#include <errno.h>
#include <netdb.h>
#include <inttypes.h>
#include <errno.h>
#include <netdb.h>
#include <inttypes.h>
-#include <pthread.h>
#include <stddef.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdlib.h>
@@
-177,7
+176,7
@@
static void sensu_close_socket(struct sensu_host *host) /* {{{ */
static char *build_json_str_list(const char *tag, struct str_list const *list) /* {{{ */
{
int res;
static char *build_json_str_list(const char *tag, struct str_list const *list) /* {{{ */
{
int res;
- char *ret_str;
+ char *ret_str
= NULL
;
char *temp_str;
int i;
if (list->nb_strs == 0) {
char *temp_str;
int i;
if (list->nb_strs == 0) {