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;