[Pkg-owncloud-commits] [owncloud-client] 44/103: More debugable code.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Apr 30 18:08:57 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 c24732f641ad475b831dcdefd01b6c4b50f10f75
Author: Klaas Freitag <freitag at owncloud.com>
Date: Thu Apr 17 10:01:26 2014 +0200
More debugable code.
---
src/mirall/owncloudsetupwizard.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mirall/owncloudsetupwizard.cpp b/src/mirall/owncloudsetupwizard.cpp
index 36b6899..49818ce 100644
--- a/src/mirall/owncloudsetupwizard.cpp
+++ b/src/mirall/owncloudsetupwizard.cpp
@@ -152,7 +152,8 @@ void OwncloudSetupWizard::slotOwnCloudFoundAuth(const QUrl& url, const QVariantM
.arg(CheckServerJob::versionString(info))
.arg(CheckServerJob::version(info)));
- if (url.path().endsWith("/status.php")) {
+ QString p = url.path();
+ if (p.endsWith("/status.php")) {
// We might be redirected, update the account
QUrl redirectedUrl = url;
redirectedUrl.setPath(url.path().left(url.path().length() - 11));
--
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