diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-01 12:52:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-01 12:52:14 +0000 |
commit | 3c3e1584ed8e8c4fad18e729f0b4a2d278294934 (patch) | |
tree | c1299031346815e6bec9721cd0bf6918c7f48e0c /src | |
parent | 3fb9e9c8357a44c3f3ab0be41ade70773d3152d6 (diff) | |
download | coreutils-3c3e1584ed8e8c4fad18e729f0b4a2d278294934.tar.xz |
(nextarg): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
Diffstat (limited to 'src')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index d085b4be7..d1500380c 100644 --- a/src/expr.c +++ b/src/expr.c @@ -368,7 +368,7 @@ nextarg (char const *str) return 0; else { - bool r = strcmp (*args, str) == 0; + bool r = STREQ (*args, str); args += r; return r; } |