aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/class_list.cpp8
-rw-r--r--src/modules/objects/class_socket.cpp6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/objects/class_list.cpp b/src/modules/objects/class_list.cpp
index d1962ecf4..1f62f8728 100644
--- a/src/modules/objects/class_list.cpp
+++ b/src/modules/objects/class_list.cpp
@@ -86,22 +86,22 @@
!fn: <boolean> $remove(<index:uint>)
Removes the item at zero-based <index>. Returns $true
- if the item was succesfully removed and $false otherwise (i.e. <index>
+ if the item was successfully removed and $false otherwise (i.e. <index>
pointed beyond the end of the list).
!fn: <boolean> $removeFirst()
Removes the first item from the list. Returns $true
- if the item was succesfully removed (the list was not empty)
+ if the item was successfully removed (the list was not empty)
and $false otherwise.
!fn: <boolean> $removeLast()
Removes the last item from the list. Returns $true
- if the item was succesfully removed (the list was not empty)
+ if the item was successfully removed (the list was not empty)
and $false otherwise.
!fn: <boolean> $removeCurrent()
Removes the current item from the list. Returns $true
- if the item was succesfully removed or $false otherwise.
+ if the item was successfully removed or $false otherwise.
Invalidates any iteration operation.
!fn: <boolean> $moveFirst()
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 <host> on port <port>.[br]
<host> 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 <port> parameter
is invalid or the socket is in an incoherent state (already connected or listening):
for a newly created socket and with a valid <port> 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;