Skip to content

Commit

Permalink
|| -> && on null check
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelapla committed Dec 10, 2021
1 parent d32c406 commit e43efa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/source/Signaling/Client.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ STATUS createRetryStrategyForCreatingSignalingClient(PSignalingClientInfo pClien
ENTERS();
STATUS retStatus = STATUS_SUCCESS;

CHK(pKvsRetryStrategy != NULL || pClientInfo != NULL, STATUS_NULL_ARG);
CHK(pKvsRetryStrategy != NULL && pClientInfo != NULL, STATUS_NULL_ARG);

if (pClientInfo->signalingRetryStrategyCallbacks.createRetryStrategyFn == NULL ||
pClientInfo->signalingRetryStrategyCallbacks.freeRetryStrategyFn == NULL ||
Expand Down

0 comments on commit e43efa3

Please sign in to comment.