]> andersk Git - moira.git/commitdiff
print "tuple" or "tuples" as is correct
authormar <mar>
Thu, 7 Jan 1988 17:42:06 +0000 (17:42 +0000)
committermar <mar>
Thu, 7 Jan 1988 17:42:06 +0000 (17:42 +0000)
clients/mrtest/mrtest.c

index e1117cdeac908097ad2d9459d88411268910945e..aa29f4141524a1153483a59e196636b423dd349e 100644 (file)
@@ -6,9 +6,12 @@
  *     Copyright (C) 1987 by the Massachusetts Institute of Technology
  *
  *     $Log$
- *     Revision 1.2  1987-08-22 23:45:10  wesommer
- *     Removed extra RCS headers.
+ *     Revision 1.3  1988-01-07 17:42:06  mar
+ *     print "tuple" or "tuples" as is correct
  *
+ * Revision 1.2  87/08/22  23:45:10  wesommer
+ * Removed extra RCS headers.
+ * 
  * Revision 1.1  87/08/22  18:31:59  wesommer
  * Initial revision
  * 
@@ -149,7 +152,7 @@ test_query(argc, argv)
        }
        count = 0;
        status = sms_query(argv[1], argc-2, argv+2, print_reply, (char *)NULL);
-       printf("%d tuples\n", count);
+       printf("%d tuple%s\n", count, ((count == 1) ? "" : "s"));
        if (status) ss_perror(ss, status, 0);
 }
 
This page took 2.021193 seconds and 5 git commands to generate.