Make str_to_num() check for ERANGE, use it instead of atoi().
authorEmil Mikulic <emikulic@gmail.com>
Thu, 1 Jan 2015 10:00:57 +0000 (21:00 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Thu, 1 Jan 2015 10:00:57 +0000 (21:00 +1100)
commitd5bd7558f4823c49a9054a1464d5a479166debe6
tree8a194af47740efc466b599c07e7122f8334f43a1
parent4c8b1e22f383cc61da6cee83967bbdeace285f21
Make str_to_num() check for ERANGE, use it instead of atoi().
darkhttpd.c