Skip to content

Commit b78dda5

Browse files
actions-userAniruddhaKanhere
authored andcommitted
Uncrustify: triggered by comment. Force push
1 parent 9fc51d8 commit b78dda5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/core_mqtt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2606,7 +2606,7 @@ static MQTTStatus_t handleCleanSession( MQTTContext_t * pContext )
26062606
pContext->incomingPublishRecordMaxCount * sizeof( *pContext->incomingPublishRecords ) );
26072607
}
26082608

2609-
if( pContext->clearFunction != NULL )
2609+
if( pContext->clearFunction != NULL )
26102610
{
26112611
cursor = MQTT_STATE_CURSOR_INITIALIZER;
26122612

test/unit-test/core_mqtt_utest.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ bool publishRetrieveCallbackFailed( struct MQTTContext * pContext,
543543
* @return true if clear is successful else false
544544
*/
545545
void publishClearCallback( struct MQTTContext * pContext,
546-
uint16_t packetId )
546+
uint16_t packetId )
547547
{
548548
( void ) pContext;
549549
( void ) packetId;
@@ -2644,6 +2644,7 @@ void test_MQTT_Connect_resendUnAckedPublishes6( void )
26442644
MQTT_SerializeConnect_IgnoreAndReturn( MQTTSuccess );
26452645
MQTT_GetConnectPacketSize_IgnoreAndReturn( MQTTSuccess );
26462646
connectInfo.keepAliveSeconds = MQTT_SAMPLE_KEEPALIVE_INTERVAL_S;
2647+
26472648
/* Test 7. Two publish packets found to resend. Sent successfully
26482649
* for first and failed for second. */
26492650
mqttContext.keepAliveIntervalSec = 0;

0 commit comments

Comments
 (0)