swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 12 Feb 2012 19:27:01 +0000 (19:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 12 Feb 2012 19:27:01 +0000 (19:27 +0000)
commit7806d479f3371ad02cd272c73bb025aa54619fcf
treeb8e9aa2e50297fe1ae72b68348f4c8f6cce945bc
parent7a010ef4d19eb6cc3890ffa87235f9085f82b198
swconfig: fix off-by-one error, causing segfaults on gcc 4.6+ (fixes #9765)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30485 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/swconfig/src/swlib.c