getsubopt: don't include leading = in value string
authorSteven Barth <cyrus@openwrt.org>
Tue, 18 Aug 2015 09:06:04 +0000 (11:06 +0200)
committerRich Felker <dalias@aerifal.cx>
Fri, 21 Aug 2015 05:29:10 +0000 (01:29 -0400)
commitaa71ec3db8a3ca564cb37ec90c639020dfe30b6b
tree50c09eda1690b945d10355d6cbbbb0900a2c8865
parent5a9c8c05a5a0cdced4122589184fd795b761bb4a
getsubopt: don't include leading = in value string

getsubopt incorrectly returns the delimiting = in the value string,
this patch fixes it by increasing the pointer position by one.

Signed-off-by: Steven Barth <cyrus@openwrt.org>
src/misc/getsubopt.c