2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

HttpUtils.pm: add defined (Forum #41219)

git-svn-id: https://svn.fhem.de/fhem/trunk@9273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-09-19 11:55:23 +00:00
parent 2296d962d7
commit 1e84d58a2b

View File

@ -62,7 +62,7 @@ HttpUtils_Close($)
my ($hash) = @_;
delete($hash->{FD});
delete($selectlist{$hash});
$hash->{conn}->close() if($hash->{conn});
$hash->{conn}->close() if(defined($hash->{conn}));
delete($hash->{conn});
delete($hash->{hu_sslAdded});
delete($hash->{hu_filecount});