[PATCH 1 of 2] Fix build of sslconnection_bare
Wald Commits
scm-commit at wald.intevation.org
Wed Aug 20 16:52:54 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408545386 -7200
# Node ID 9bcd8ed36f4b803ba0e89573905f7c4efff7664d
# Parent a55c6cf5436584c115ad0b5681d228287f17c27e
Fix build of sslconnection_bare
diff -r a55c6cf54365 -r 9bcd8ed36f4b ui/sslconnection_bare.cpp
--- a/ui/sslconnection_bare.cpp Mon Aug 18 18:52:39 2014 +0200
+++ b/ui/sslconnection_bare.cpp Wed Aug 20 16:36:26 2014 +0200
@@ -438,6 +438,11 @@
ret = write(getRequest.toUtf8());
+ if (ret != 0) {
+ qDebug() << "Failed to send request.";
+ return false;
+ }
+
// Open / Create the file to write to.
if (!outputFile.open(QIODevice::WriteOnly)) {
qDebug() << "Failed to open file";
More information about the Trustbridge-commits
mailing list