projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5a886
)
Removed parentheses around return arguments
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Wed, 25 Jul 2018 17:42:39 +0000
(
00:42
+0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Wed, 25 Jul 2018 17:42:39 +0000
(
00:42
+0700)
src/amqp1.c
patch
|
blob
|
history
src/snmp.c
patch
|
blob
|
history
diff --git
a/src/amqp1.c
b/src/amqp1.c
index
9a7b5ce
..
87bb50c
100644
(file)
--- a/
src/amqp1.c
+++ b/
src/amqp1.c
@@
-476,7
+476,7
@@
static int amqp1_write(const data_set_t *ds, const value_list_t *vl, /* {{{ */
ERROR("amqp1 plugin: format_json_finalize failed with status %i.",
status);
cd_message_free(cdm);
- return
(status)
;
+ return
status
;
}
cdm->mbuf.size = strlen(cdm->mbuf.start);
if (cdm->mbuf.size >= BUFSIZE) {
diff --git
a/src/snmp.c
b/src/snmp.c
index
a86d085
..
af26fbd
100644
(file)
--- a/
src/snmp.c
+++ b/
src/snmp.c
@@
-1539,7
+1539,7
@@
static int csnmp_dispatch_table(host_definition_t *host,
value_cell_ptr[0] = value_cell_ptr[0]->next;
} /* while (have_more) */
- return
(0)
;
+ return
0
;
} /* int csnmp_dispatch_table */
static int csnmp_read_table(host_definition_t *host, data_definition_t *data) {