Skip to content

Commit

Permalink
Fix uncrustify again
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot committed Oct 20, 2023
1 parent 52c215e commit 45e1ce7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions demos/mqtt/mqtt_demo_mutual_auth/mqtt_demo_mutual_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,10 @@ static int establishMqttSession( MQTTContext_t * pMqttContext,
int returnStatus = EXIT_SUCCESS;
MQTTStatus_t mqttStatus;
MQTTConnectInfo_t connectInfo = { 0 };
void * pMemchrPtr;

#ifdef CLIENT_USERNAME
void * pMemchrPtr;
#endif

assert( pMqttContext != NULL );
assert( pSessionPresent != NULL );
Expand Down Expand Up @@ -1181,7 +1184,7 @@ static int establishMqttSession( MQTTContext_t * pMqttContext,

connectInfo.pPassword = CLIENT_PASSWORD;
connectInfo.passwordLength = strlen( CLIENT_PASSWORD );
#else /* ifdef CLIENT_USERNAME */
#else /* ifdef CLIENT_USERNAME */
connectInfo.pUserName = METRICS_STRING;
connectInfo.userNameLength = METRICS_STRING_LENGTH;
/* Password for authentication is not used. */
Expand Down

0 comments on commit 45e1ce7

Please sign in to comment.