mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
The quota is now decremented by the actual number of bytes written ($written) rather than the intended size. This ensures quota tracking stays accurate even if fwrite writes fewer (or more - i.e. from underlying buffering/etc) bytes than requested. Signed-off-by: Josh <josh.t.richards@gmail.com>