summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a88401)
raw | patch | inline | side by side (parent: 9a88401)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 21 May 2006 21:14:09 +0000 (21:14 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 21 May 2006 21:14:09 +0000 (21:14 +0000) |
src/pedro/pedroxmpp.cpp | patch | blob | history |
index f447b93565acd20cac1db7b3da3712e9588f0d6c..6bce6c10eb4318fb7334d510f55ebd00fb295ff9 100644 (file)
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
void enableSSL(bool val);
+ bool getEnableSSL();
+
bool connect(const std::string &hostname, int portno);
bool connect(const char *hostname, int portno);
sslEnabled = val;
}
+bool TcpSocket::getEnableSSL()
+{
+ return sslEnabled;
+}
+
bool TcpSocket::connect(const char *hostnameArg, int portnoArg)
{
status("login: STARTTLS available");
}
- if (wantStartTls)
+ if (wantStartTls && !sock->getEnableSSL())
{
delete elem;
char *fmt =