Order opt_list in opt_new() call order, limit items to OPT_NMAX
authorratchov <ratchov@openbsd.org>
Fri, 29 Jan 2021 11:25:05 +0000 (11:25 +0000)
committerratchov <ratchov@openbsd.org>
Fri, 29 Jan 2021 11:25:05 +0000 (11:25 +0000)
commit869641a98e63d5087aa35c83f1a44c857395e351
tree2f820fa62edeaf23784e16aad18460f476e2afb4
parent5684d55073817e9c232f4b049db99054a428e9a8
Order opt_list in opt_new() call order, limit items to OPT_NMAX

No behavior change, except for improved debug printfs.
usr.bin/sndiod/opt.c
usr.bin/sndiod/opt.h