[PATCH] Only include sslconnection_curl if curl is used

Wald Commits scm-commit at wald.intevation.org
Thu Aug 21 15:24:04 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408627441 -7200
# Node ID 75085f7adc78b214daf49482a30341467488990d
# Parent  68db3a46ae36a1db1a07ea22156b6019f98a8a46
Only include sslconnection_curl if curl is used

diff -r 68db3a46ae36 -r 75085f7adc78 ui/downloader.cpp
--- a/ui/downloader.cpp	Thu Aug 21 15:00:49 2014 +0200
+++ b/ui/downloader.cpp	Thu Aug 21 15:24:01 2014 +0200
@@ -28,8 +28,11 @@
 #define MAX_SW_SIZE 15728640
 #define MAX_LIST_SIZE 1048576
 
+#ifdef USE_CURL
 #include "sslconnection_curl.h"
+#else
 #include "sslconnection_bare.h"
+#endif
 
 Downloader::Downloader(QObject* parent, const QString& url,
                        const QByteArray& certificate,


More information about the Trustbridge-commits mailing list