check_curl: handle supplied port correctly
commit87065ac4482c40247e285da27351b72b3019fc87
authorSven Nierlein <sven@nierlein.de>
Wed, 24 Oct 2018 10:13:26 +0000 (24 12:13 +0200)
committerSven Nierlein <sven@nierlein.de>
Wed, 24 Oct 2018 10:13:26 +0000 (24 12:13 +0200)
treed8926bde4f016a3d646ff19cee8fed91f2c50500
parentb2f7eca374577b3982e6242376b812c0088ba7ef
check_curl: handle supplied port correctly

if a port was given by -p, it should not be overruled by the port extracted from -H.
plugins/check_curl.c