[BUG] fix error checking in strl2ic/strl2uic()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2007 07:42:24 +0000 (09:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2007 07:42:24 +0000 (09:42 +0200)
commit3f0c9761352efc06b498ad43f314b136d92cf05d
treef32c942a105780e642a8ea18f97f6cb5e1f19080
parent85130941e7ba66656e302a68a211c3834d7d5a93
[BUG] fix error checking in strl2ic/strl2uic()

The strl2ic() and strl2uic() primitives used to convert string to
integers could return 10 times the value read if they stopped on
non-digit because of a mis-placed loop exit.
include/common/standard.h
src/standard.c