get_cmdline_val: search for entire name, not just suffix
authorSteven Barth <steven@midlink.org>
Wed, 5 Nov 2014 10:17:09 +0000 (11:17 +0100)
committerSteven Barth <steven@midlink.org>
Wed, 5 Nov 2014 10:17:09 +0000 (11:17 +0100)
commit6f52ef3cc9f01e952e7f32d10c7f8612e635e80c
treebda1190f6fa5684e56ad5165fca9cacfac0ee31f
parentdc3ea949544090f91a24b05c5fde0bd9ab87f2ce
get_cmdline_val: search for entire name, not just suffix

also fix writing of 0-byte to buffer

Signed-off-by: Steven Barth <steven@midlink.org>
utils/utils.c