diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:57:24 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:57:24 -0700 |
commit | 42a2a79b3e1f5c9cbb076743965eba8268733989 (patch) | |
tree | 0c9ef727e1b2801f0c42f91a3616465326540ea1 | |
parent | c24ac15bfa150aeed51d9ec5cb9f2a5054e6f91d (diff) |
Fix typos
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | io.c | 6 | ||||
-rw-r--r-- | misc.c | 2 | ||||
-rw-r--r-- | pm.c | 4 | ||||
-rw-r--r-- | transport.c | 2 |
4 files changed, 7 insertions, 7 deletions
@@ -402,8 +402,8 @@ ProcessNewPMConnection ( * Set the readables select() to listen for a readable on this * fd; remember, we're not interested in pm writables, since * all the negotiation is handled inside this routine; adjust - * the nfds (must do that everytime we get a new socket to - * select() on), and then contnue processing current selections + * the nfds (must do that every time we get a new socket to + * select() on), and then continue processing current selections */ FD_SET(temp_sock_fd, rinit); *nfds = max(*nfds, temp_sock_fd + 1); @@ -638,7 +638,7 @@ ProcessNewClientConnection ( if ((client_conn_array[server_fd] = (struct client_conn_buf *) malloc(sizeof (struct client_conn_buf))) == NULL) { - (void) fprintf (stderr, "malloc - server connectioin buffer\n"); + (void) fprintf (stderr, "malloc - server connection buffer\n"); return; } bzero (client_conn_array[server_fd], sizeof (struct client_conn_buf)); @@ -98,7 +98,7 @@ static void BadMalloc( int line) { - (void) fprintf(stderr, "Error: memory exhaused at line %d\n", line); + (void) fprintf(stderr, "Error: memory exhausted at line %d\n", line); } static void @@ -255,7 +255,7 @@ void FWPprocessMessages( /* * Before checking to see if you already have a PM connection * request for this server, make serverAddress a - * FQDN so that synonomous names like oregon:0 and oregon.com:0 + * FQDN so that synonymous names like oregon:0 and oregon.com:0 * will be recognized as the same Xserver. If this server * already exists, don't allocate another listen port for it - * use the already allocated one @@ -457,7 +457,7 @@ doSetupPMListen( 256, errormsg)) { - (void) fprintf(stderr, "IceListenForWellKnowConnections error: %s\n", + (void) fprintf(stderr, "IceListenForWellKnownConnections error: %s\n", errormsg); return 0; } diff --git a/transport.c b/transport.c index 479e893..e7fe444 100644 --- a/transport.c +++ b/transport.c @@ -148,7 +148,7 @@ doSetupRemClientListen( listen_port++; /* - * Cann't keep going forever. + * Can't keep going forever. * * Why 65535 - it's the same value used by the LBXProxy. */ |