1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-27 04:46:26 +01:00

mode[0] of 'c' is not supposed to truncate.

This commit is contained in:
Andreas Fischer 2015-06-25 14:24:58 +02:00
parent f0957021a1
commit 9e07fb704b

View File

@ -288,7 +288,6 @@ class Net_SFTP_Stream
case 'x': case 'x':
return false; return false;
case 'w': case 'w':
case 'c':
$this->sftp->truncate($path, 0); $this->sftp->truncate($path, 0);
} }
} }