From 8780f8c449b1d8ef2e44622484d47707fb14a2f2 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 22 Feb 1998 16:34:21 +0000 Subject: Fix for core-dump bug. svn path=/trunk/; revision=1666 --- driver.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 4acb2aeb..8c0657c2 100644 --- a/driver.c +++ b/driver.c @@ -2099,9 +2099,13 @@ const struct method *proto; /* protocol method table */ /* tell the UID code we've seen this */ if (ctl->newsaved) - for (idp = ctl->newsaved; idp; idp = idp->next) - if (idp->val.num == num) - MARK_SEEN(idp->val.num); + { + struct idlist *sdp; + + for (sdp = ctl->newsaved; sdp; sdp = sdp->next) + if (sdp->val.num == num) + MARK_SEEN(sdp->val.num); + } /* maybe we delete this message now? */ if (retained) -- cgit v1.2.3