mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 05:55:59 +03:00
ownCloud: Fix warning condition in reader code.
This commit is contained in:
parent
4c98f6bcd8
commit
0160be06f5
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ static int uncompress_reader(void *userdata, const char *buf, size_t len)
|
|||
|
||||
if( buf && writeCtx->fd ) {
|
||||
/* DEBUG_WEBDAV(("Writing NON compressed %d bytes\n", len)); */
|
||||
len = write(writeCtx->fd, buf, len);
|
||||
written = write(writeCtx->fd, buf, len);
|
||||
if( len != written ) {
|
||||
DEBUG_WEBDAV(("WRN: uncompress_reader wrote wrong num of bytes\n"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue