summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/listen.c2
-rw-r--r--libvncclient/sockets.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvncclient/listen.c b/libvncclient/listen.c
index 6d4ad54..739cd9f 100644
--- a/libvncclient/listen.c
+++ b/libvncclient/listen.c
@@ -141,7 +141,7 @@ listenForIncomingConnections(rfbClient* client)
/*
* listenForIncomingConnectionsNoFork() - listen for incoming connections
* from servers, but DON'T fork, instead just wait timeout microseconds.
- * If timeout is negative, block indefinitly.
+ * If timeout is negative, block indefinitely.
* Returns 1 on success (there was an incoming connection on the listen socket
* and we accepted it successfully), -1 on error, 0 on timeout.
*/
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c
index e32c60e..8ddfd9d 100644
--- a/libvncclient/sockets.c
+++ b/libvncclient/sockets.c
@@ -563,7 +563,7 @@ ListenAtTcpPortAndAddress(int port, const char *address)
}
#ifdef IPV6_V6ONLY
- /* we have seperate IPv4 and IPv6 sockets since some OS's do not support dual binding */
+ /* we have separate IPv4 and IPv6 sockets since some OS's do not support dual binding */
if (p->ai_family == AF_INET6 && setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(one)) < 0) {
rfbClientErr("ListenAtTcpPortAndAddress: error in setsockopt IPV6_V6ONLY: %s\n", strerror(errno));
close(sock);