print "request" instead of "requests" if there is only one request
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 4 Jan 1983 05:19:37 +0000 (21:19 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 4 Jan 1983 05:19:37 +0000 (21:19 -0800)
SCCS-mr: usr.sbin/sendmail/src/version.c 129
SCCS-vsn: usr.sbin/sendmail/src/queue.c 3.64
SCCS-vsn: usr.sbin/sendmail/src/version.c 3.274

usr/src/usr.sbin/sendmail/src/queue.c
usr/src/usr.sbin/sendmail/src/version.c

index 00038e6..954e3d1 100644 (file)
@@ -5,10 +5,10 @@
 # include <errno.h>
 
 # ifndef QUEUE
 # include <errno.h>
 
 # ifndef QUEUE
-SCCSID(@(#)queue.c     3.63            %G%     (no queueing));
+SCCSID(@(#)queue.c     3.64            %G%     (no queueing));
 # else QUEUE
 
 # else QUEUE
 
-SCCSID(@(#)queue.c     3.63            %G%);
+SCCSID(@(#)queue.c     3.64            %G%);
 
 /*
 **  Work queue.
 
 /*
 **  Work queue.
@@ -646,7 +646,7 @@ printqueue()
                return;
        }
 
                return;
        }
 
-       printf("\t\tMail Queue (%d requests", nrequests);
+       printf("\t\tMail Queue (%d request%s", nrequests, nrequests == 1 ? "" : "s");
        if (nrequests > WLSIZE)
                printf(", only %d printed", WLSIZE);
        printf(")\n--QID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------\n");
        if (nrequests > WLSIZE)
                printf(", only %d printed", WLSIZE);
        printf(")\n--QID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------\n");
index 1b7b327..1a1d980 100644 (file)
@@ -1,5 +1,5 @@
 # ifndef lint
 # ifndef lint
-static char    SccsId[] = "@(#)SendMail version 3.273 of %G%";
+static char    SccsId[] = "@(#)SendMail version 3.274 of %G%";
 # endif lint
 
 # endif lint
 
-char   Version[] = "3.273 [%G%]";
+char   Version[] = "3.274 [%G%]";