From f590da078ac7ce1b9aa884cb3ae8088366089501 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 21 Oct 2005 21:30:54 +0000 Subject: [PATCH] [xmpppy]it is standarD not with T; thanks dkm --- src/common/xmpp/client.py | 2 +- src/common/xmpp/transports.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/xmpp/client.py b/src/common/xmpp/client.py index ed55d8a87..7fe3c9fec 100644 --- a/src/common/xmpp/client.py +++ b/src/common/xmpp/client.py @@ -184,7 +184,7 @@ class Client(CommonClient): pass it as tuple as first parameter. If there is HTTP proxy between you and server - specify it's address and credentials (if needed) in the second argument If you want ssl/tls support to be discovered and enable automatically - leave third argument as None. (ssl will be autodetected only if port is 5223 or 443) - If you want to force SSL start (i.e. if port 5223 or 443 is remapped to some non-standart port) then set it to 1 + If you want to force SSL start (i.e. if port 5223 or 443 is remapped to some non-standard port) then set it to 1 If you want to disable tls/ssl support completely, set it to 0 Example: connect(('192.168.5.5',5222),{'host':'proxy.my.net','port':8080,'user':'me','password':'secret'}) Returns '' (on no connection) or 'tcp' or 'tls', depending on the result.""" diff --git a/src/common/xmpp/transports.py b/src/common/xmpp/transports.py index bfd695b4e..2225d19b2 100644 --- a/src/common/xmpp/transports.py +++ b/src/common/xmpp/transports.py @@ -62,7 +62,7 @@ class TCPsocket(PlugIn): """ This class defines direct TCP connection method. """ def __init__(self, server=None): """ Cache connection point 'server'. 'server' is the tuple of (host, port) - absolutely the same as standart tcp socket uses. """ + absolutely the same as standard tcp socket uses. """ PlugIn.__init__(self) self.DBG_LINE='socket' self._exported_methods=[self.send,self.disconnect]