diff options
Diffstat (limited to 'src/connect.c')
-rw-r--r-- | src/connect.c | 6 |
1 files changed, 3 insertions, 3 deletions
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'; } |