diff options
| author | Stefan Weil <sw@weilnetz.de> | 2015-10-09 17:13:35 +0200 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2015-10-09 17:13:35 +0200 |
| commit | 9c7efb7633ba62cd80c93e83284663f805bb3031 (patch) | |
| tree | a462dc1715366e72e74e45dcc24f4d3a1c241772 /libvncclient | |
| parent | 97f442ef2aa65ade6bea11e90054c57b90abbaca (diff) | |
| download | libtdevnc-9c7efb76.tar.gz libtdevnc-9c7efb76.zip | |
Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'libvncclient')
| -rw-r--r-- | libvncclient/listen.c | 2 | ||||
| -rw-r--r-- | libvncclient/sockets.c | 2 |
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); |
