mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Fix warning condition
This commit is contained in:
parent
8312e4430c
commit
87bc7ca4cc
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,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