mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
HttpUtils.pm: revert accidental checkin 20799 => 20375
git-svn-id: https://svn.fhem.de/fhem/trunk@20800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cda3962dd7
commit
198a39d731
@ -1,4 +1,4 @@
|
||||
##############################################
|
||||
##############################################
|
||||
# $Id$
|
||||
package main;
|
||||
|
||||
@ -650,7 +650,7 @@ HttpUtils_Connect2($)
|
||||
HttpUtils_Close($hash);
|
||||
return $hash->{callback}($hash, "write error: $err", undef)
|
||||
}
|
||||
$data = ($ret<=length($data))?substr($data,$ret):"";
|
||||
$data = substr($data,$ret);
|
||||
if(length($data) == 0) {
|
||||
shutdown($hash->{conn}, 1) if($s);
|
||||
delete($hash->{directWriteFn});
|
||||
|
Loading…
x
Reference in New Issue
Block a user