summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 698837f)
raw | patch | inline | side by side (parent: 698837f)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 16 Jun 2011 09:42:20 +0000 (11:42 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 16 Jun 2011 09:42:20 +0000 (11:42 +0200) |
src/amqp.c | patch | blob | history |
diff --git a/src/amqp.c b/src/amqp.c
index f0abd44b461a38c5c7fade0b1e96b92f11897ec7..44f982302040effcb504021c40712207ef28302d 100644 (file)
--- a/src/amqp.c
+++ b/src/amqp.c
if (status != 0)
{
ERROR ("amqp plugin: camqp_connect failed. "
- "Will sleep for %i seconds.", interval_g);
+ "Will sleep for %lli seconds.", (long long int)interval_g);
sleep (interval_g);
continue;
}
if (status < 0)
{
ERROR ("amqp plugin: amqp_simple_wait_frame failed. "
- "Will sleep for %i seconds.", interval_g);
+ "Will sleep for %lli seconds.", (long long int)interval_g);
camqp_close_connection (conf);
sleep (interval_g);
continue;