summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-05-10 09:15:11 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-05-10 09:15:11 -0700
commitc069ede3c97f543d9bbe9ed67e56c74142921cc5 (patch)
tree45e6deca1743a26eab530d6584a11ce416db9b76 /Xtrans.c
parent16a015524f3820f969362c2d10a3664999a12c3b (diff)
downloadxorg-lib-libxtrans-c069ede3c97f543d9bbe9ed67e56c74142921cc5.tar.gz
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 'Xtrans.c')
-rw-r--r--Xtrans.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xtrans.c b/Xtrans.c
index c4dbbc0..ce76120 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -62,7 +62,7 @@ from The Open Group.
* Each transport is assigned a unique transport id.
*
* New transports can be added by adding an entry in this table.
- * For compatiblity, the transport ids should never be renumbered.
+ * For compatibility, the transport ids should never be renumbered.
* Always add to the end of the list.
*/
@@ -247,7 +247,7 @@ TRANS(ParseAddress) (const char *address,
{
/* There is a hostname specified */
_protocol = "tcp";
- mybuf = tmpptr; /* reset to the begining of the host ptr */
+ mybuf = tmpptr; /* reset to the beginning of the host ptr */
}
}
else
@@ -995,7 +995,7 @@ TRANS(GetConnectionNumber) (XtransConnInfo ciptr)
/*
* These functions are really utility functions, but they require knowledge
* of the internal data structures, so they have to be part of the Transport
- * Independant API.
+ * Independent API.
*/
#ifdef TRANS_SERVER