summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5caecf5)
raw | patch | inline | side by side (parent: 5caecf5)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 Jun 2011 14:37:31 +0000 (16:37 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 Jun 2011 14:37:31 +0000 (16:37 +0200) |
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index 44f982302040effcb504021c40712207ef28302d..13588fa1819921fd02cb0e2bbb0020398caebd0b 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
if (status != 0)
{
ERROR ("amqp plugin: camqp_connect failed. "
- "Will sleep for %lli seconds.", (long long int)interval_g);
+ "Will sleep for %.3f seconds.",
+ CDTIME_T_TO_DOUBLE (interval_g))
sleep (interval_g);
continue;
}
if (status < 0)
{
ERROR ("amqp plugin: amqp_simple_wait_frame failed. "
- "Will sleep for %lli seconds.", (long long int)interval_g);
+ "Will sleep for %.3f seconds.",
+ CDTIME_T_TO_DOUBLE (interval_g))
camqp_close_connection (conf);
sleep (interval_g);
continue;