comparison ui/sslconnection_curl.cpp @ 912:a55c6cf54365

Remove unused macro
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 18 Aug 2014 18:52:39 +0200
parents eaed02defe6a
children c8be25c83ff6
comparison
equal deleted inserted replaced
911:bf4c8737b52c 912:a55c6cf54365
8 8
9 #include "sslconnection_curl.h" 9 #include "sslconnection_curl.h"
10 #include <QSaveFile> 10 #include <QSaveFile>
11 11
12 #define CONNECTION_DEBUG 12 #define CONNECTION_DEBUG
13
14 /**@def Wrapper macro around curl_easy_setopt invocation */
15 #define CURL_SETOPT(x, y, z) \
16 if (curl_easy_setopt(mCurl, x, y) != CURLE_OK) { \
17 qDebug() << "Setopt failed"; \
18 z; \
19 }
20 13
21 SSLConnectionCurl::SSLConnectionCurl(const QString& url, 14 SSLConnectionCurl::SSLConnectionCurl(const QString& url,
22 const QByteArray& certificate): 15 const QByteArray& certificate):
23 SSLConnection (url, certificate), 16 SSLConnection (url, certificate),
24 mCurl (NULL) 17 mCurl (NULL)

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