[Pkg-owncloud-commits] [owncloud-client] 287/484: Rename env variables to include unit #2939
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:54 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 76d9b9c0e2597a0f9ca5d0b8f7add4ccc7b9b8f5
Author: Christian Kamm <mail at ckamm.de>
Date: Tue Nov 10 12:06:57 2015 +0100
Rename env variables to include unit #2939
---
src/libsync/owncloudpropagator.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libsync/owncloudpropagator.cpp b/src/libsync/owncloudpropagator.cpp
index e72f007..c123adf 100644
--- a/src/libsync/owncloudpropagator.cpp
+++ b/src/libsync/owncloudpropagator.cpp
@@ -47,7 +47,7 @@ qint64 criticalFreeSpaceLimit()
qint64 value = 50 * 1000 * 1000LL;
static bool hasEnv = false;
- static qint64 env = qgetenv("OWNCLOUD_CRITICAL_FREE_SPACE").toLongLong(&hasEnv);
+ static qint64 env = qgetenv("OWNCLOUD_CRITICAL_FREE_SPACE_BYTES").toLongLong(&hasEnv);
if (hasEnv) {
value = env;
}
@@ -60,7 +60,7 @@ qint64 freeSpaceLimit()
qint64 value = 250 * 1000 * 1000LL;
static bool hasEnv = false;
- static qint64 env = qgetenv("OWNCLOUD_FREE_SPACE").toLongLong(&hasEnv);
+ static qint64 env = qgetenv("OWNCLOUD_FREE_SPACE_BYTES").toLongLong(&hasEnv);
if (hasEnv) {
value = env;
}
--
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