One bit of an ASCII character can make a big difference.
[people/andreif/gpxe.git] / src / net / retry.c
index f00c178..fd70426 100644 (file)
@@ -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 );