[PATCH] server: Use the ARRAY_SIZE() macro