[Pkg-owncloud-commits] [owncloud-client] 25/69: CheckServerJob: Guard again null reply
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Nov 7 19:41:07 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 7bad731ad2c0dca86576fe6f178f462dbef49a5b
Author: Markus Goetz <markus at woboq.com>
Date: Wed Oct 29 09:37:52 2014 +0100
CheckServerJob: Guard again null reply
Lucia had reported a crash in this function
---
src/mirall/networkjobs.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/mirall/networkjobs.cpp b/src/mirall/networkjobs.cpp
index 443ef6a..d9c61ee 100644
--- a/src/mirall/networkjobs.cpp
+++ b/src/mirall/networkjobs.cpp
@@ -382,8 +382,11 @@ void CheckServerJob::start()
void CheckServerJob::slotTimeout()
{
qDebug() << "TIMEOUT" << Q_FUNC_INFO;
- if (reply()->isRunning())
+ if (reply() && reply()->isRunning()) {
emit timeout(reply()->url());
+ } else if (!reply()) {
+ qDebug() << Q_FUNC_INFO << "Timeout even there was no reply?";
+ }
deleteLater();
}
--
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