projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f743a
)
email plugin: fix check for result of malloc
author
Ruben Kerkhof
<ruben@tilaa.com>
Sat, 12 Dec 2015 11:24:41 +0000
(12:24 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 12 Jan 2016 06:37:32 +0000
(07:37 +0100)
CID #38010
src/email.c
patch
|
blob
|
history
diff --git
a/src/email.c
b/src/email.c
index
0e34b89
..
ca4dbc2
100644
(file)
--- a/
src/email.c
+++ b/
src/email.c
@@
-534,7
+534,7
@@
static void *open_connection (void __attribute__((unused)) *arg)
}
connection = malloc (sizeof (*connection));
- if (connection
!
= NULL)
+ if (connection
=
= NULL)
{
close (remote);
continue;