On Tue, Jul 14, 2020 at 9:59 AM Alex Henrie alexhenrie24@gmail.com wrote:
On Tue, Jul 14, 2020 at 9:41 AM Zebediah Figura z.figura12@gmail.com wrote:
- const char *names[3];
I guess this was copied from the implementation, but surely this can just be names[2]?
The NULL name at the end is used as a sentinel in the tests, the same as in the implementation:
for (j = 0; protocols[i].names[0][j]; j++)
Oops, I copied the wrong line:
for (j = 0; ref->names[1+j]; j++)
-Alex