From: Steve Brokenshire Date: Sun, 13 Mar 2016 09:34:31 +0000 (+0000) Subject: Removed the commented out code in carddav/carddav-connect.cpp X-Git-Tag: release-0.11~124 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=40b77786b78184348b7be0244c3d0aa4f01363d6;p=xestiaab%2F.git Removed the commented out code in carddav/carddav-connect.cpp --- diff --git a/source/carddav/carddav-connect.cpp b/source/carddav/carddav-connect.cpp index 0f7ec5c..98f83dd 100644 --- a/source/carddav/carddav-connect.cpp +++ b/source/carddav/carddav-connect.cpp @@ -72,22 +72,6 @@ bool CardDAV::Connect(){ // Try SSL first. - - /* - char *ServerAdrSSLChar = new char[(ServerAddressSSL.Length() - 1)]; - //memset(ServerAdrSSLChar, 0, ServerAddressSSL.Length()); - strncpy(ServerAdrSSLChar, (const char*)ServerAddressSSL.mb_str(wxConvUTF8), (ServerAddressSSL.Length() - 1)); - - char *ServerAdrNorChar = new char[(ServerAddressNormal.Length() - 1)]; - //memset(ServerAdrNorChar, 0, ServerAddressSSL.Length()); - strncpy(ServerAdrNorChar, (const char*)ServerAddressNormal.mb_str(wxConvUTF8), (ServerAddressNormal.Length() - 1)); - - char *ServerAuthChar = new char[(ServerAuth.Length() - 1)]; - //memset(ServerAuthChar, 0, ServerAddressSSL.Length()); - strncpy(ServerAuthChar, (const char*)ServerAuth.mb_str(wxConvUTF8), (ServerAuth.Length() - 1)); - - */ - if (ServerSSL){ union {