changeset 913:9bcd8ed36f4b

Fix build of sslconnection_bare
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 20 Aug 2014 16:36:26 +0200
parents a55c6cf54365
children dcb6ed6ad594
files ui/sslconnection_bare.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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";

http://wald.intevation.org/projects/trustbridge/