]> git.ozlabs.org Git - ccan/commit
ciniparser: fix ctype.h usage, and lazy strrchr.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:22 +0000 (22:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 17 Mar 2011 11:42:22 +0000 (22:12 +1030)
commitb7dedf4344c7e573c048a36e7b456f2a4bdbebb7
treededac787a4bc53facbb88ef4bfd4fde15518587e
parent2621f3adc8786e6655c69edc29d6a3560d41cd32
ciniparser: fix ctype.h usage, and lazy strrchr.

tolower(), toupper() and isupper want an unsigned value.  Also, fix
lazy cost-discarding inside strrchr for extra safety.
ccan/failtest/failtest.c