projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcpconns plugin: mark variable as static
[collectd.git]
/
src
/
email.c
diff --git
a/src/email.c
b/src/email.c
index
f5dcf70
..
63b6a56
100644
(file)
--- a/
src/email.c
+++ b/
src/email.c
@@
-50,7
+50,6
@@
# include <pthread.h>
#endif
-#include <sys/socket.h>
#include <sys/un.h>
#include <sys/select.h>
@@
-539,7
+538,7
@@
static void *open_connection (void __attribute__((unused)) *arg)
}
connection = malloc (sizeof (*connection));
- if (connection
!
= NULL)
+ if (connection
=
= NULL)
{
close (remote);
continue;