libbb/bb_strtonum: always set end ptr, even on error return
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 22 Dec 2011 12:00:32 +0000 (13:00 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 22 Dec 2011 12:00:32 +0000 (13:00 +0100)
commitba6587295053f369d6e2e9b788f42b49e1baced5
tree87adf3c5a302a9f91ba4cc6f97a8f2d2f44eb3e0
parent6a93212b54327c77383d88efd581475105f3b72a
libbb/bb_strtonum: always set end ptr, even on error return

function                                             old     new   delta
handle_errors                                         69      61      -8

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/bb_strtonum.c