Skip to content

Commit 8a6bf0c

Browse files
author
Amit Sheth
committed
Merge branch 'fix/backoffRetry' into 'master'
Fix initial return status of connectToServerWithBackoffRetries in mqtt mutual auth demo See merge request app-frameworks/esp-aws-iot!73
2 parents 0b919af + 373739c commit 8a6bf0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mqtt/tls_mutual_auth/main/mqtt_demo_mutual_auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ static int connectToServerWithBackoffRetries( NetworkContext_t * pNetworkContext
630630
bool * pClientSessionPresent,
631631
bool * pBrokerSessionPresent )
632632
{
633-
int returnStatus = EXIT_SUCCESS;
633+
int returnStatus = EXIT_FAILURE;
634634
BackoffAlgorithmStatus_t backoffAlgStatus = BackoffAlgorithmSuccess;
635635
TlsTransportStatus_t tlsStatus = TLS_TRANSPORT_SUCCESS;
636636
BackoffAlgorithmContext_t reconnectParams;

0 commit comments

Comments
 (0)