mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
don't increase backoff if there wasn't actually anything to send.
This commit is contained in:
parent
9598ea3585
commit
5463535265
1 changed files with 2 additions and 2 deletions
|
@ -1263,9 +1263,9 @@ comms_resendAll( CommsCtxt* comms, XP_Bool force )
|
||||||
XP_LOGF( "%s: aborting: %ld seconds left in backoff", __func__,
|
XP_LOGF( "%s: aborting: %ld seconds left in backoff", __func__,
|
||||||
comms->nextResend - now );
|
comms->nextResend - now );
|
||||||
success = XP_FALSE;
|
success = XP_FALSE;
|
||||||
} else {
|
|
||||||
MsgQueueElem* msg;
|
|
||||||
|
|
||||||
|
} else if ( !!comms->msgQueueHead ) {
|
||||||
|
MsgQueueElem* msg;
|
||||||
|
|
||||||
for ( msg = comms->msgQueueHead; !!msg; msg = msg->next ) {
|
for ( msg = comms->msgQueueHead; !!msg; msg = msg->next ) {
|
||||||
if ( 0 > sendMsg( comms, msg ) ) {
|
if ( 0 > sendMsg( comms, msg ) ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue