diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-29 22:36:47 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-29 22:36:47 +0000 |
commit | 3a94f662a564ec5d5e8250d08fa3495c444cdae5 (patch) | |
tree | ef5b20318f23c328e107669b4f81206fe617eb7e /src/atimer.c | |
parent | c65c42e5f6d2ee7d181716659db8540ac064b0ea (diff) | |
download | emacs-3a94f662a564ec5d5e8250d08fa3495c444cdae5.tar.gz |
(stop_other_atimers): Fix loop to correctly compute `prev'.
Diffstat (limited to 'src/atimer.c')
-rw-r--r-- | src/atimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atimer.c b/src/atimer.c index f8ed1b265ec..d260f67d24d 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -231,7 +231,7 @@ stop_other_atimers (t) struct atimer *p, *prev; /* See if T is active. */ - for (p = atimers, prev = 0; p && p != t; p = p->next) + for (p = atimers, prev = NULL; p && p != t; prev = p, p = p->next) ; if (p == t) |