summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:57:24 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:57:24 -0700
commit42a2a79b3e1f5c9cbb076743965eba8268733989 (patch)
tree0c9ef727e1b2801f0c42f91a3616465326540ea1
parentc24ac15bfa150aeed51d9ec5cb9f2a5054e6f91d (diff)
Fix typos
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--io.c6
-rw-r--r--misc.c2
-rw-r--r--pm.c4
-rw-r--r--transport.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/io.c b/io.c
index 99335e7..8c8d830 100644
--- a/io.c
+++ b/io.c
@@ -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));
diff --git a/misc.c b/misc.c
index 46d8e75..e6943e5 100644
--- a/misc.c
+++ b/misc.c
@@ -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
diff --git a/pm.c b/pm.c
index b81a39f..c2c3e64 100644
--- a/pm.c
+++ b/pm.c
@@ -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.
*/