cfparser: use strtol() in set_int
authorMarko Kreen <markokr@gmail.com>
Thu, 19 Jan 2012 11:17:51 +0000 (13:17 +0200)
committerMarko Kreen <markokr@gmail.com>
Thu, 19 Jan 2012 11:17:51 +0000 (13:17 +0200)
commit5c986914241a69683844fc01a465ed3c4e535399
treec8ccb48b3c7b17f1c135fd76cbf1736e86098143
parent1dc0fd0c65bb8eee63b4d0b0149ef3a1071f6116
cfparser: use strtol() in set_int

This allows octal and hex prefixes, also error detection.
usual/cfparser.c