[Pkg-owncloud-commits] [owncloud-client] 68/175: TransmissionChecksum: Fix identation.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Aug 8 10:36:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit ddfe3fa7ab028cae4ebf976314c791c7e50b1156
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed May 20 10:49:18 2015 +0200

    TransmissionChecksum: Fix identation.
---
 src/libsync/filesystem.cpp | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp
index 873af19..c1c20d7 100644
--- a/src/libsync/filesystem.cpp
+++ b/src/libsync/filesystem.cpp
@@ -441,18 +441,18 @@ QByteArray FileSystem::calcSha1( const QString& filename )
 #ifdef ZLIB_FOUND
 QByteArray FileSystem::calcAdler32( const QString& filename )
 {
-  unsigned int adler = adler32(0L, Z_NULL, 0);
-
-  QFile file(filename);
-  if (file.open(QIODevice::ReadOnly)) {
-    QByteArray data;
-    while (!file.atEnd()) {
-      data = file.read(1024*1024*10);
-      adler = adler32(adler, (const Bytef*) data.data(), data.size());
+    unsigned int adler = adler32(0L, Z_NULL, 0);
+
+    QFile file(filename);
+    if (file.open(QIODevice::ReadOnly)) {
+        QByteArray data;
+        while (!file.atEnd()) {
+            data = file.read(1024*1024*10);
+            adler = adler32(adler, (const Bytef*) data.data(), data.size());
+        }
     }
-  }
 
-  return QString::number( adler, 16 ).toUtf8();
+    return QString::number( adler, 16 ).toUtf8();
 }
 #endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list