Skip to content

Commit

Permalink
Uncrustify: triggered by comment. Force push
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and AniruddhaKanhere committed Oct 24, 2024
1 parent 9fc51d8 commit b78dda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/core_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2606,7 +2606,7 @@ static MQTTStatus_t handleCleanSession( MQTTContext_t * pContext )
pContext->incomingPublishRecordMaxCount * sizeof( *pContext->incomingPublishRecords ) );
}

if( pContext->clearFunction != NULL )
if( pContext->clearFunction != NULL )
{
cursor = MQTT_STATE_CURSOR_INITIALIZER;

Expand Down
3 changes: 2 additions & 1 deletion test/unit-test/core_mqtt_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ bool publishRetrieveCallbackFailed( struct MQTTContext * pContext,
* @return true if clear is successful else false
*/
void publishClearCallback( struct MQTTContext * pContext,
uint16_t packetId )
uint16_t packetId )
{
( void ) pContext;
( void ) packetId;
Expand Down Expand Up @@ -2644,6 +2644,7 @@ void test_MQTT_Connect_resendUnAckedPublishes6( void )
MQTT_SerializeConnect_IgnoreAndReturn( MQTTSuccess );
MQTT_GetConnectPacketSize_IgnoreAndReturn( MQTTSuccess );
connectInfo.keepAliveSeconds = MQTT_SAMPLE_KEEPALIVE_INTERVAL_S;

/* Test 7. Two publish packets found to resend. Sent successfully
* for first and failed for second. */
mqttContext.keepAliveIntervalSec = 0;
Expand Down

0 comments on commit b78dda5

Please sign in to comment.