]> sjero.net Git - wget/blobdiff - src/init.c
[svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names.
[wget] / src / init.c
index 9ce9b1662a8414601425fa65b4fca94b758387bd..b4ab130aee67a2f5482c0519df53552c9e0646c0 100644 (file)
@@ -224,7 +224,7 @@ static struct {
 static int
 comind (const char *com)
 {
-  int lo = 0, hi = ARRAY_SIZE (commands) - 1;
+  int lo = 0, hi = countof (commands) - 1;
 
   while (lo <= hi)
     {