diff options
Diffstat (limited to 'contrib/sendmail/libsm/fclose.c')
-rw-r--r-- | contrib/sendmail/libsm/fclose.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/sendmail/libsm/fclose.c b/contrib/sendmail/libsm/fclose.c index c1099f8..2de1413 100644 --- a/contrib/sendmail/libsm/fclose.c +++ b/contrib/sendmail/libsm/fclose.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. @@ -13,7 +13,7 @@ */ #include <sm/gen.h> -SM_RCSID("@(#)$Id: fclose.c,v 1.41 2001/09/11 04:04:48 gshapiro Exp $") +SM_RCSID("@(#)$Id: fclose.c,v 1.42 2002/02/01 02:28:00 ca Exp $") #include <errno.h> #include <stdlib.h> #include <sys/time.h> @@ -86,6 +86,7 @@ sm_io_close(fp, timeout) SM_REQUIRE_ISA(fp, SmFileMagic); + /* XXX this won't be reached if above macro is active */ if (fp->sm_magic == NULL) { /* not open! */ @@ -140,8 +141,6 @@ sm_io_close(fp, timeout) } if (HASUB(fp)) FREEUB(fp); - if (HASLB(fp)) - FREELB(fp); fp->f_flags = 0; /* clear flags */ fp->sm_magic = NULL; /* Release this SM_FILE_T for reuse. */ fp->f_r = fp->f_w = 0; /* Mess up if reaccessed. */ |