(nextarg): Prefer the notation `STREQ (a, b)' over `strcmp (a, b) == 0'.
authorJim Meyering <jim@meyering.net>
Tue, 1 Jun 2004 12:52:14 +0000 (12:52 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 1 Jun 2004 12:52:14 +0000 (12:52 +0000)
src/expr.c

index d085b4be787dda6be6e5f9404ac04d305b18fe06..d1500380cf1a9aab9a58bb60ad881a09f5d01826 100644 (file)
@@ -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;
     }