From 4db0764f1ac769d70fa7e8743849f4887b615e39 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 1 Jun 2004 13:00:28 +0000 Subject: (main): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'. --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index 1761ad335..522b799bc 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2408,7 +2408,7 @@ main (int argc, char **argv) break; case 'o': - if (outfile != minus && strcmp (outfile, optarg) != 0) + if (outfile != minus && !STREQ (outfile, optarg)) error (SORT_FAILURE, 0, _("multiple output files specified")); outfile = optarg; break; -- cgit v1.2.3-54-g00ecf