ownCloud: Fix warning condition in reader code.

This commit is contained in:
Dominik Schmidt 2012-04-15 14:35:38 +02:00 committed by Klaas Freitag
parent 4c98f6bcd8
commit 0160be06f5

View file

@ -744,7 +744,7 @@ static int uncompress_reader(void *userdata, const char *buf, size_t len)
if( buf && writeCtx->fd ) { if( buf && writeCtx->fd ) {
/* DEBUG_WEBDAV(("Writing NON compressed %d bytes\n", len)); */ /* DEBUG_WEBDAV(("Writing NON compressed %d bytes\n", len)); */
len = write(writeCtx->fd, buf, len); written = write(writeCtx->fd, buf, len);
if( len != written ) { if( len != written ) {
DEBUG_WEBDAV(("WRN: uncompress_reader wrote wrong num of bytes\n")); DEBUG_WEBDAV(("WRN: uncompress_reader wrote wrong num of bytes\n"));
} }