]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add NULL initialization for d_c on httpconnector 975/head
authorAki Tuomi <cmouse@desteem.org>
Tue, 27 Aug 2013 11:43:43 +0000 (14:43 +0300)
committerAki Tuomi <cmouse@desteem.org>
Tue, 27 Aug 2013 11:43:43 +0000 (14:43 +0300)
modules/remotebackend/httpconnector.cc

index fe6a4cda47c3c1acd68ec097a62f8c203bfde634..da76c741e97897d0f8621180caee295706fce111 100644 (file)
@@ -17,6 +17,7 @@
 
 #ifdef REMOTEBACKEND_HTTP
 HTTPConnector::HTTPConnector(std::map<std::string,std::string> options) {
+    this->d_c = NULL;
     this->d_url = options.find("url")->second;
     if (options.find("url-suffix") != options.end()) {
       this->d_url_suffix = options.find("url-suffix")->second;