From 3a9a69fcbfdedde3535d04a58f22334664b94da9 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Wed, 28 Feb 2018 22:57:08 +0100
Subject: [PATCH] Typos
---
README | 2 +-
plugins/ssl/sslTunnel.c | 2 +-
plugins/telnet/telnetTunnel.c | 2 +-
src/dcap_poll.c | 2 +-
src/dcap_read.c | 2 +-
src/node_plays.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README b/README
index bcc6fde..84aee0a 100644
--- a/README
+++ b/README
@@ -40,7 +40,7 @@ Command failed!
Server error message for [1]: "path /pnfs/example.org/data/dteam/test3 not found" (errno 10001).
[-1] unpluging node
Removing unneeded queue [1]
-[-1] destroing node
+[-1] destroying node
Real file name: /etc/group.
Using system native open for /etc/group.
extra option: -alloc-size=597
diff --git a/plugins/ssl/sslTunnel.c b/plugins/ssl/sslTunnel.c
index c420401..b57cc72 100644
--- a/plugins/ssl/sslTunnel.c
+++ b/plugins/ssl/sslTunnel.c
@@ -95,7 +95,7 @@ int eInit(int fd)
printf("SSL_ERROR_WANT_CONNECT.\n");
break;
default:
- printf("Unknow error.\n");
+ printf("Unknown error.\n");
}
ERR_print_errors_fp(stderr);
diff --git a/plugins/telnet/telnetTunnel.c b/plugins/telnet/telnetTunnel.c
index a694c86..ead4f87 100644
--- a/plugins/telnet/telnetTunnel.c
+++ b/plugins/telnet/telnetTunnel.c
@@ -47,7 +47,7 @@ int eInit(int fd)
}
fclose (pf);
} else {
- printf ("Failed openning user authorization items at %s: %s\n", file, strerror(errno));
+ printf ("Failed opening user authorization items at %s: %s\n", file, strerror(errno));
user = strdup ("failed");
passwd = strdup ("failed");
}
diff --git a/src/dcap_poll.c b/src/dcap_poll.c
index 4d4dc58..f6349bc 100644
--- a/src/dcap_poll.c
+++ b/src/dcap_poll.c
@@ -425,7 +425,7 @@ again:
/* this part reached if we are hunting for control messages */
if( (node != NULL) && (isFound == 0) ) {
- dc_debug(DC_ERROR, "Control line [%d] unknow to the system", node->fd);
+ dc_debug(DC_ERROR, "Control line [%d] unknown to the system", node->fd);
rc = -1;
}
diff --git a/src/dcap_read.c b/src/dcap_read.c
index f83d90d..32717e0 100644
--- a/src/dcap_read.c
+++ b/src/dcap_read.c
@@ -61,7 +61,7 @@ dc_read(int fd, void *buff, size_t buflen)
n = dc_lcb_read( node, buff, buflen );
if ( n < 0 ) {
/* print error */
- dc_debug(DC_ERROR, "lcb_read: problems reading %d read, %d requsted, giving up lcb", n, buflen );
+ dc_debug(DC_ERROR, "lcb_read: problems reading %d read, %d requested, giving up lcb", n, buflen );
dc_lcb_clean( node );
n = dc_real_read(node, buff, buflen);
}
diff --git a/src/node_plays.c b/src/node_plays.c
index 1e05e98..d4a454a 100644
--- a/src/node_plays.c
+++ b/src/node_plays.c
@@ -243,7 +243,7 @@ void node_destroy( struct vsp_node *node)
return;
}
- dc_debug(DC_INFO, "[%d] destroing node", node->dataFd);
+ dc_debug(DC_INFO, "[%d] destroying node", node->dataFd);
free(node->pnfsId);
--
2.34.1