MFH: r398816
Fix a regression where plugins would segfault if the monitored tcp port
is closed.
PR: 203572
Submitted by: johan stromnet se
Obtained from: https://github.com/stromnet/nagios-plugins/commit/a18f60cc610c690cc0756bc258b8202a1541a067
Sponsored by: Absolight