add define() for HttpUtilsParam

in function delete and shutdown
This commit is contained in:
2020-06-19 07:32:24 +02:00
parent f3c27d9f23
commit 851f09d90a
2 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@ sub Delete {
my $name = shift;
HttpUtils_Close( $hash->{helper}->{HttpUtilsParam} )
if ( $hash->{helper}->{HttpUtilsParam} );
if ( defined($hash->{helper}->{HttpUtilsParam}) );
DeletePassword($hash);
return;
@ -188,7 +188,7 @@ sub Shutdown {
my $hash = shift;
HttpUtils_Close( $hash->{helper}->{HttpUtilsParam} )
if ( $hash->{helper}->{HttpUtilsParam} );
if ( defined($hash->{helper}->{HttpUtilsParam}) );
return;
}