telnet: removed unused block. BlockingCall: little more debugging
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6484 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user