Fix log message in keep alive job
@@ -781,9 +781,9 @@ void _IotMqtt_ProcessKeepAlive( IotTaskPool_t pTaskPool,
if( taskPoolStatus == IOT_TASKPOOL_SUCCESS )
{
- IotLogDebug( "(MQTT connection %p) Next keep-alive job in %d ms.",
+ IotLogDebug( "(MQTT connection %p) Next keep-alive job in %lu ms.",
pMqttConnection,
- IOT_MQTT_RESPONSE_WAIT_MS );
+ ( unsigned long ) pPingreqOperation->u.operation.periodic.ping.nextPeriodMs );
}
else
{
