mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
add proper paths to exceptions during stream close and write
This commit is contained in:
parent
b2a62743cf
commit
db50bb51bd
4 changed files with 15 additions and 12 deletions
|
|
@ -61,7 +61,7 @@ class NativeWriteStream extends NativeStream {
|
|||
|
||||
private function flushWrite() {
|
||||
rewind($this->writeBuffer);
|
||||
$this->state->write($this->handle, stream_get_contents($this->writeBuffer));
|
||||
$this->state->write($this->handle, stream_get_contents($this->writeBuffer), $this->url);
|
||||
$this->writeBuffer = fopen('php://memory', 'r+');
|
||||
$this->bufferSize = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue