util: use strndup() instead of strndupa()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Nov 2018 06:55:45 +0000 (15:55 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 Nov 2018 07:46:00 +0000 (16:46 +0900)
commit67944f5c26ace6f1694c49c493f0fd8e2afeb354
tree14b7ca39bd11396d840261d2c577007094a78c71
parent201bf07f7c5467928a0dd6c91ef298f144151740
util: use strndup() instead of strndupa()

As the input string may be comes from command line or config files.
src/basic/in-addr-util.c