projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5acbb98
)
amqp: coding-style consistency
author
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 11 Mar 2015 21:11:15 +0000
(22:11 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Wed, 11 Mar 2015 21:11:15 +0000
(22:11 +0100)
src/amqp.c
patch
|
blob
|
history
diff --git
a/src/amqp.c
b/src/amqp.c
index
dd5a652
..
187582c
100644
(file)
--- a/
src/amqp.c
+++ b/
src/amqp.c
@@
-408,7
+408,7
@@
static int camqp_setup_queue (camqp_config_t *conf) /* {{{ */
static int camqp_connect (camqp_config_t *conf) /* {{{ */
{
static int camqp_connect (camqp_config_t *conf) /* {{{ */
{
- static time_t last
ConnectT
ime = 0;
+ static time_t last
_connect_t
ime = 0;
amqp_rpc_reply_t reply;
int status;
amqp_rpc_reply_t reply;
int status;
@@
-422,16
+422,16
@@
static int camqp_connect (camqp_config_t *conf) /* {{{ */
return (0);
time_t now = time(NULL);
return (0);
time_t now = time(NULL);
- if (now < (last
ConnectT
ime + conf->connection_retry_delay))
+ if (now < (last
_connect_t
ime + conf->connection_retry_delay))
{
{
- DEBUG("amqp plugin: skipping connection retry,
ConnectionRetryDelay: %d
"
-
, conf->connection_retry_delay);
+ DEBUG("amqp plugin: skipping connection retry, "
+
"ConnectionRetryDelay: %d"
, conf->connection_retry_delay);
return(1);
}
else
{
DEBUG ("amqp plugin: retrying connection");
return(1);
}
else
{
DEBUG ("amqp plugin: retrying connection");
- last
ConnectT
ime = now;
+ last
_connect_t
ime = now;
}
conf->connection = amqp_new_connection ();
}
conf->connection = amqp_new_connection ();