mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(batch_convert): Prefer the notation STREQ (a, b)' over strcmp (a, b) == 0'.
This commit is contained in:
1 parent
3c3e1584ed
commit
339ff9d46b
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user