fix bug in enoughspace
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 24 Aug 1993 00:34:01 +0000 (16:34 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 24 Aug 1993 00:34:01 +0000 (16:34 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.28

usr/src/usr.sbin/sendmail/src/conf.c

index 3e93a90..be767b8 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.27 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.28 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -1329,6 +1329,7 @@ freespace(dir, bsize)
                        *bsize = FSBLOCKSIZE;
                return (fs.f_bavail);
        }
                        *bsize = FSBLOCKSIZE;
                return (fs.f_bavail);
        }
+#endif
        return (-1);
 }
 \f/*
        return (-1);
 }
 \f/*
@@ -1385,7 +1386,6 @@ enoughspace(msize)
        else if (tTd(4, 80))
                printf("enoughspace failure: min=%ld, need=%ld: %s\n",
                        MinBlocksFree, msize, errstring(errno));
        else if (tTd(4, 80))
                printf("enoughspace failure: min=%ld, need=%ld: %s\n",
                        MinBlocksFree, msize, errstring(errno));
-#endif
        return TRUE;
 }
 \f/*
        return TRUE;
 }
 \f/*