changed elemsof() macro to countof()

This commit is contained in:
Andreas Steffen
2009-04-17 09:28:45 +00:00
parent 247e665a44
commit 2775c9aac8
11 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -510,7 +510,7 @@ lookup_group(u_int16_t group)
{
int i;
for (i = 0; i != elemsof(oakley_group); i++)
for (i = 0; i != countof(oakley_group); i++)
if (group == oakley_group[i].group)
return &oakley_group[i];
return NULL;