projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce79ade
)
Updated codestyle
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Sat, 16 Jun 2018 04:07:22 +0000
(11:07 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Wed, 20 Jun 2018 04:32:34 +0000
(11:32 +0700)
src/daemon/plugin.c
patch
|
blob
|
history
diff --git
a/src/daemon/plugin.c
b/src/daemon/plugin.c
index
72e3591
..
c24602c
100644
(file)
--- a/
src/daemon/plugin.c
+++ b/
src/daemon/plugin.c
@@
-347,7
+347,7
@@
static int create_register_callback(llist_t **list, /* {{{ */
const char *name, void *callback,
user_data_t const *ud) {
- if (
(name == NULL) || (callback == NULL)
)
+ if (
name == NULL || callback == NULL
)
return EINVAL;
callback_func_t *cf = calloc(1, sizeof(*cf));