Skip to content

Commit

Permalink
use correct return codes
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 3, 2016
1 parent 76376bb commit 3a40b31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -3610,7 +3610,7 @@ static bool proxy_keep_waiting(REQUEST *request, struct timeval *now)
if (timercmp(&when, now, >)) {
RDEBUG("Waiting for client retransmission in order to do a proxy retransmit");
STATE_MACHINE_TIMER;
return false;
return true;
}
} else
#endif
Expand All @@ -3637,7 +3637,7 @@ static bool proxy_keep_waiting(REQUEST *request, struct timeval *now)
RDEBUG("Expecting proxy response no later than %d.%06d seconds from now",
(int) diff.tv_sec, (int) diff.tv_usec);
STATE_MACHINE_TIMER;
return false;
return true;
}
}

Expand Down Expand Up @@ -3709,7 +3709,7 @@ static bool proxy_keep_waiting(REQUEST *request, struct timeval *now)
request->proxy->packet->dst_port);
}

return true;
return false;
}

static void proxy_retransmit(REQUEST *request, struct timeval *now)
Expand Down

0 comments on commit 3a40b31

Please sign in to comment.