diff ui/sslconnection_bare.cpp @ 913:9bcd8ed36f4b

Fix build of sslconnection_bare
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 20 Aug 2014 16:36:26 +0200
parents eaed02defe6a
children 2949f1842955
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/