noshutdown patch by housekeeper, to make it work again

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3211 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-05-23 07:12:09 +00:00
parent f1ae7c65b3
commit b0bf922dfe

View File

@@ -121,13 +121,17 @@ NetIO230B_Request($@)
{
my ($hash, $cmd, $list) = @_;
my $URL='';
my $timeout=4;
my $noshutdown=1;
my $log='';
my $parm='l';
if($cmd eq "set") {
$parm = $list;
}
my $response = GetFileFromURL("http://"."$hash->{HOST}/tgi/control.tgi?l=p:". $hash->{USER}.":".$hash->{PASS}."&p=".$parm);
my $response = GetFileFromURL("http://"."$hash->{HOST}/tgi/control.tgi?l=p:". $hash->{USER}.":".$hash->{PASS}."&p=".$parm, $timeout, undef, $noshutdown );
if(!$response or length($response)==0)
{
Log 3, "NetIO230B_Request failed: ".$log;