x
authorKyle Fuller <redacted>
Mon, 1 Jul 2013 19:28:30 +0000 (20:28 +0100)
committerKyle Fuller <redacted>
Mon, 1 Jul 2013 19:28:30 +0000 (20:28 +0100)
palaver.cpp

index c5af7db9fbb62b0c151949850d77ddb2026f82dc..b89a9bf11d1ee3ac7ee26aedac36156d4d08645d 100644 (file)
@@ -319,7 +319,7 @@ public:
                sJSON += "}";
 
                CSocket *pSocket = new CSocket(&module);
-               pSocket->Connect(sHostname, uPort, bUseTLS);
+               pSocket->Connect(sHostname, uPort, sScheme.Equals("https"));
                pSocket->Write("POST " + sPath + " HTTP/1.1\r\n");
                pSocket->Write("Host: " + sHostname + "\r\n");
                pSocket->Write("Authorization: Bearer " + GetToken() + "\r\n");
git clone https://git.99rst.org/PROJECT