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