From 5d09651e5664c3c875fe4b32acdc84e207ffd243 Mon Sep 17 00:00:00 2001 From: Kai Wasserbäch Date: Thu, 6 Aug 2009 17:56:43 +0000 Subject: [KVIrc] (trunk) Fixed spelling mistakes found by Lintian. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3402 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/class_socket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/objects/class_socket.cpp') diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp index e2453afdb..cd807a3e9 100644 --- a/src/modules/objects/class_socket.cpp +++ b/src/modules/objects/class_socket.cpp @@ -89,7 +89,7 @@ Attempts a connection to on port .[br] can be a numeric internet address (either Ipv4 or Ipv6 (if supported)) or a hostname.[br] If a hostname is used, a DNS lookup is performed (the socket enters the "dns call" state).[br] - This function returns 1 if the connect attempt can be succesfully initiated, + This function returns 1 if the connect attempt can be successfully initiated, 0 otherwise.[br] In fact , this function returns 0 only if the supplied parameter is invalid or the socket is in an incoherent state (already connected or listening): for a newly created socket and with a valid number you can safely ignore @@ -120,7 +120,7 @@ This function returns '1' in case of success and '0' in case of failure. !fn: $connectEvent() - This function is called when a connection attempt has been succesfully completed. + This function is called when a connection attempt has been successfully completed. The socket is actually connected to [classfnc:socket]$remoteIp[/classfnc]() on [classfnc:socket]$remotePort[/classfnc](). You can start writing data and you may expect [classfnc:socket]$dataAvailableEvent[/classfnc]() to be @@ -609,7 +609,7 @@ KVSO_CLASS_FUNCTION(socket,writeHex) KVSO_PARAMETERS_END(c) if (m_szHex.length()%2) { - c->warning(__tr2qs_ctx("The hex string lenght is not a multiple of 2","objects")); + c->warning(__tr2qs_ctx("The hex string length is not a multiple of 2","objects")); return true; } unsigned char byte,lsb,msb; -- cgit v1.3.1-10-gc9f91