diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-30 14:08:43 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-30 14:14:00 -0700 |
commit | 410d2005f5a1f11e8204d9bc3432e0b145ae3161 (patch) | |
tree | f496c097e84884542ca64b2c73e166f22f31a629 /src | |
parent | 08df47e4786d112a639915331702b4a27def6a56 (diff) |
Fix spelling/wording issues
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ICElibint.h | 2 | ||||
-rw-r--r-- | src/connect.c | 6 | ||||
-rw-r--r-- | src/iceauth.c | 4 | ||||
-rw-r--r-- | src/process.c | 8 | ||||
-rw-r--r-- | src/protosetup.c | 2 | ||||
-rw-r--r-- | src/shutdown.c | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/ICElibint.h b/src/ICElibint.h index 9a5a41a..b64795f 100644 --- a/src/ICElibint.h +++ b/src/ICElibint.h @@ -102,7 +102,7 @@ Author: Ralph Mor, X Consortium /* - * Maxium number of ICE authentication methods allowed, and maxiumum + * Maximum number of ICE authentication methods allowed, and maximum * number of authentication data entries allowed to be set in the * IceSetPaAuthData function. * diff --git a/src/connect.c b/src/connect.c index 821b727..b39ca3c 100644 --- a/src/connect.c +++ b/src/connect.c @@ -87,7 +87,7 @@ IceOpenConnection ( * * If 'majorOpcodeCheck' is non-zero, it will contain a protocol major * opcode that we should make sure is not already active on the ICE - * connection. Some clients will want two seperate connections for the + * connection. Some clients will want two separate connections for the * same protocol to the same destination client. */ @@ -282,7 +282,7 @@ IceOpenConnection ( { _IceFreeConnection (iceConn); if (errorStringRet && errorLength > 0) { - strncpy (errorStringRet, "IO error occured opening connection", + strncpy (errorStringRet, "IO error occurred opening connection", errorLength); errorStringRet[errorLength - 1] = '\0'; } @@ -386,7 +386,7 @@ IceOpenConnection ( if (ioErrorOccured) { if (errorStringRet && errorLength > 0) { - strncpy (errorStringRet, "IO error occured opening connection", + strncpy (errorStringRet, "IO error occurred opening connection", errorLength); errorStringRet[errorLength - 1] = '\0'; } diff --git a/src/iceauth.c b/src/iceauth.c index 147efc7..807e5d7 100644 --- a/src/iceauth.c +++ b/src/iceauth.c @@ -151,7 +151,7 @@ _IcePoMagicCookie1Proc ( { /* * This is the first time we're being called. Search the - * authentication data for the first occurence of + * authentication data for the first occurrence of * MIT-MAGIC-COOKIE-1 that matches iceConn->connection_string. */ @@ -229,7 +229,7 @@ _IcePaMagicCookie1Proc ( else { /* - * Search the authentication data for the first occurence of + * Search the authentication data for the first occurrence of * MIT-MAGIC-COOKIE-1 that matches iceConn->connection_string. */ diff --git a/src/process.c b/src/process.c index 89ebbea..3cfc288 100644 --- a/src/process.c +++ b/src/process.c @@ -148,7 +148,7 @@ asprintf(char ** ret, const char *format, ...) * for a reply, and while calling IceProcessMessages, a callback can be * invoked which will wait for another reply). We take advantage of the * fact that for a given protocol, we are guaranteed that messages are - * processed in the order we sent them. So, everytime we have a new + * processed in the order we sent them. So, every time we have a new * replyWait, we add it to the END of the 'saved_reply_waits' list. When * we read a message and want to see if it matches a replyWait, we use the * FIRST replyWait in the list with the major opcode of the message. If the @@ -160,7 +160,7 @@ asprintf(char ** ret, const char *format, ...) * The return value of IceProcessMessages is one of the following: * * IceProcessMessagesSuccess - the message was processed successfully. - * IceProcessMessagesIOError - an IO error occured. The caller should + * IceProcessMessagesIOError - an IO error occurred. The caller should * invoked IceCloseConnection. * IceProcessMessagesConnectionClosed - the connection was closed as a * result of shutdown negotiation. @@ -207,7 +207,7 @@ IceProcessMessages ( if (!iceConn->io_ok) { /* - * An unexpected IO error occured. The caller of IceProcessMessages + * An unexpected IO error occurred. The caller of IceProcessMessages * should call IceCloseConnection which will cause the watch procedures * to be invoked and the ICE connection to be freed. */ @@ -1869,7 +1869,7 @@ ProcessProtocolSetup ( { /* * If we sent a WantToClose message, but just got a ProtocolSetup, - * we must cancel our WantToClose. It is the responsiblity of the + * we must cancel our WantToClose. It is the responsibility of the * other client to send a WantToClose later on. */ diff --git a/src/protosetup.c b/src/protosetup.c index 8eaa9d6..ad9ba88 100644 --- a/src/protosetup.c +++ b/src/protosetup.c @@ -206,7 +206,7 @@ IceProtocolSetup ( { if (errorStringRet && errorLength > 0) { strncpy (errorStringRet, - "IO error occured doing Protocol Setup on connection", + "IO error occurred doing Protocol Setup on connection", errorLength); errorStringRet[errorLength - 1] = '\0'; } diff --git a/src/shutdown.c b/src/shutdown.c index f27c876..5e63266 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -136,7 +136,7 @@ IceCloseConnection ( IO free- dispatch protocol shutdown error asap bit level refcount negotiation ACTION - occured set reached 0 reached 0 + occurred set reached 0 reached 0 0 0 0 0 0 N 0 0 0 0 1 N |