diff --git a/doc/udp.but b/doc/udp.but index 270c26bb..4466b57a 100644 --- a/doc/udp.but +++ b/doc/udp.but @@ -778,7 +778,7 @@ or other of the subtypes depending on what it finds out about the machine it's running on. That top-level selector vtable is nearly always the one used by client code. (Except for the test suite, which has to instantiate both of the subtypes in order to make sure they -both passs the tests.) +both pass the tests.) \lcont{ diff --git a/unix/uxagentsock.c b/unix/uxagentsock.c index ba87cd1a..7e6187c6 100644 --- a/unix/uxagentsock.c +++ b/unix/uxagentsock.c @@ -16,7 +16,7 @@ Socket *platform_make_agent_socket( Plug *plug, const char *dirprefix, char **error, char **name) { char *username, *socketdir, *socketname, *errw; - const char *errr; + const char *err; Socket *sock; *name = NULL; @@ -35,8 +35,8 @@ Socket *platform_make_agent_socket( socketname = dupprintf("%s/pageant.%d", socketdir, (int)getpid()); sock = new_unix_listener(unix_sock_addr(socketname), plug); - if ((errr = sk_socket_error(sock)) != NULL) { - *error = dupprintf("%s: %s\n", socketname, errr); + if ((err = sk_socket_error(sock)) != NULL) { + *error = dupprintf("%s: %s\n", socketname, err); sk_close(sock); sfree(socketname); rmdir(socketdir); diff --git a/windows/winhandl.c b/windows/winhandl.c index b41cac55..085f30a0 100644 --- a/windows/winhandl.c +++ b/windows/winhandl.c @@ -201,7 +201,7 @@ static DWORD WINAPI handle_input_threadfunc(void *param) } /* - * This is called after a succcessful read, or from the + * This is called after a successful read, or from the * `unthrottle' function. It decides whether or not to begin a new * read operation. */