One bit of an ASCII character can make a big difference.
authorMichael Brown <mcb30@etherboot.org>
Mon, 29 May 2006 21:00:00 +0000 (21:00 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 29 May 2006 21:00:00 +0000 (21:00 +0000)
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 ) {
        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 );
                        timer->retries++;
                        reload_timer ( timer );
                        timer->expired ( timer );