Skip to content

Commit

Permalink
Fix log disorder in client.c (#1988)
Browse files Browse the repository at this point in the history
fix log disorder in "createSignalingClientSync" and "signalingClientFetchSync". We do not have a position for retStatus in fmt string.
  • Loading branch information
zizzy9x authored May 21, 2024
1 parent 0446361 commit 8492287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/source/Signaling/Client.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ STATUS createSignalingClientSync(PSignalingClientInfo pClientInfo, PChannelInfo

DLOGV("Attempting to back off for [%lf] milliseconds before creating signaling client again. "
"Signaling client creation retry count [%u]",
retStatus, signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
THREAD_SLEEP(signalingClientCreationWaitTime);
signalingClientCreationMaxRetryCount--;
}
Expand Down Expand Up @@ -228,7 +228,7 @@ STATUS signalingClientFetchSync(SIGNALING_CLIENT_HANDLE signalingClientHandle)

DLOGV("Attempting to back off for [%lf] milliseconds before creating signaling client again. "
"Signaling client creation retry count [%u]",
retStatus, signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
signalingClientCreationWaitTime / 1000.0f, signalingClientCreationMaxRetryCount);
THREAD_SLEEP(signalingClientCreationWaitTime);
signalingClientCreationMaxRetryCount--;
}
Expand Down

0 comments on commit 8492287

Please sign in to comment.