summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2018-02-04 02:18:15 +0000
committercheloha <cheloha@openbsd.org>2018-02-04 02:18:15 +0000
commit9d66e5ee31180c1f9f76b4455b44bcc11007a310 (patch)
tree7210db7935c6148b24c65be39a565f2bf88af73e /lib
parentRemove a pointless assignment introduced in previous commit. (diff)
downloadwireguard-openbsd-9d66e5ee31180c1f9f76b4455b44bcc11007a310.tar.xz
wireguard-openbsd-9d66e5ee31180c1f9f76b4455b44bcc11007a310.zip
Print strtonum(3)-style error messages on invalid numeric input.
More informative than the usage message. While here, no need to return EINVAL: just return 1 if we overflow. ok jca@ schwarze@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions