telnet: removed unused block. BlockingCall: little more debugging

git-svn-id: https://svn.fhem.de/fhem/trunk@6484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-08-31 07:45:45 +00:00
parent 0fb7fb0c99
commit ddd0e7cbc6
2 changed files with 1 additions and 3 deletions

View File

@ -251,9 +251,6 @@ telnet_Read($)
}
}
$gotCmd = 1;
if( $cmd =~ s/\xff(\xfb|\xfd)(.)// ) {
#syswrite($hash->{CD}, sprintf("%c%c%c", 255, (ord($1)==253?251:253), ord($2)));
}
if($cmd) {
if($cmd =~ m/\\ *$/) { # Multi-line
$hash->{prevlines} .= $cmd . "\n";

View File

@ -70,6 +70,7 @@ BlockingCall($$@)
}
if($pid) {
Log 4, "BlockingCall created child ($pid), uses $tName to connect back";
my %h = ( pid=>$pid, fn=>$blockingFn, finishFn=>$finishFn,
abortFn=>$abortFn, abortArg=>$abortArg );
if($timeout) {