]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(batch_convert): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
authorJim Meyering <jim@meyering.net>
Tue, 1 Jun 2004 12:52:31 +0000 (12:52 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 1 Jun 2004 12:52:31 +0000 (12:52 +0000)
src/date.c

index c8db77f0498742d8bc86cca57d09ee708efad98e..5cb891bcd79557417d4c38f107eeadbc059d3680 100644 (file)
@@ -234,7 +234,7 @@ batch_convert (const char *input_filename, const char *format)
   size_t buflen;
   struct timespec when;
 
-  if (strcmp (input_filename, "-") == 0)
+  if (STREQ (input_filename, "-"))
     {
       input_filename = _("standard input");
       in_stream = stdin;