summaryrefslogtreecommitdiffstats
path: root/src/net/retry.c
diff options
context:
space:
mode:
authorMichael Brown2006-05-29 23:00:00 +0200
committerMichael Brown2006-05-29 23:00:00 +0200
commit552b4a178e5d93039f690ab2cdee74df87311e6f (patch)
tree84b7dba986534f1f8c4f716e19f948431efecdfb /src/net/retry.c
parentAdded first sketch of a generic retry timer mechanism. The idea is to use (diff)
downloadipxe-552b4a178e5d93039f690ab2cdee74df87311e6f.tar.gz
ipxe-552b4a178e5d93039f690ab2cdee74df87311e6f.tar.xz
ipxe-552b4a178e5d93039f690ab2cdee74df87311e6f.zip
One bit of an ASCII character can make a big difference.
Diffstat (limited to 'src/net/retry.c')
-rw-r--r--src/net/retry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/retry.c b/src/net/retry.c
index f00c178e..fd704266 100644
--- a/src/net/retry.c
+++ b/src/net/retry.c
@@ -107,7 +107,7 @@ static void retry_step ( struct process *process ) {
unsigned long now = currticks();
list_for_each_entry_safe ( timer, tmp, &timers, list ) {
- if ( timer->expiry >= now ) {
+ if ( timer->expiry <= now ) {
timer->retries++;
reload_timer ( timer );
timer->expired ( timer );