[Pkg-owncloud-commits] [owncloud-client] 01/03: Fix formatting hashes
Gaudenz Steinlin
gaudenz at moszumanska.debian.org
Fri Nov 4 10:39:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
gaudenz pushed a commit to tag v1.1.4
in repository owncloud-client.
commit dfbeef2bb20669e1d2f62bb7a6cc5374cec7c402
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Sun Dec 2 23:11:58 2012 +0100
Fix formatting hashes
---
src/mirall/sslerrordialog.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mirall/sslerrordialog.cpp b/src/mirall/sslerrordialog.cpp
index 327f241..5f36446 100644
--- a/src/mirall/sslerrordialog.cpp
+++ b/src/mirall/sslerrordialog.cpp
@@ -131,8 +131,8 @@ static QByteArray formatHash(const QByteArray &fmhash)
QByteArray hash;
int steps = fmhash.length()/2;
for (int i = 0; i < steps; i++) {
- hash.append(fmhash[i]);
- hash.append(fmhash[i+1]);
+ hash.append(fmhash[i*2]);
+ hash.append(fmhash[i*2+1]);
hash.append(' ');
}
return hash;
--
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