[Pkg-owncloud-commits] [owncloud-client] 25/103: Fix condition if network limit change is logged or not.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Apr 30 18:08:55 UTC 2014
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 82ab5fdcb99b523ab3bc5db9b6da8de025408261
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Apr 15 16:15:33 2014 +0200
Fix condition if network limit change is logged or not.
---
src/mirall/syncengine.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index 7d08bd7..fec5c5a 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -616,7 +616,7 @@ void SyncEngine::setNetworkLimits()
#endif
;
- if( propDownloadLimit + propUploadLimit > 0 ) {
+ if( propDownloadLimit != 0 || propUploadLimit != 0 ) {
qDebug() << " N------N Network Limits (down/up) " << propDownloadLimit << propUploadLimit;
}
}
--
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