summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/rpc-transport.c4
-rw-r--r--rpc/rpc-lib/src/rpcsvc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c
index 9497ecf78e5..946e65b879c 100644
--- a/rpc/rpc-lib/src/rpc-transport.c
+++ b/rpc/rpc-lib/src/rpc-transport.c
@@ -205,7 +205,7 @@ rpc_transport_load (glusterfs_ctx_t *ctx, dict_t *options, char *trans_name)
"\"socket\"");
} else {
{
- /* Backword compatibility to handle * /client,
+ /* Backward compatibility to handle * /client,
* * /server.
*/
char *tmp = strchr (type, '/');
@@ -563,7 +563,7 @@ out:
//give negative values to skip setting that value
//this function asserts if both the values are negative.
-//why call it if you dont set it.
+//why call it if you don't set it.
int
rpc_transport_keepalive_options_set (dict_t *options, int32_t interval,
int32_t time, int32_t timeout)
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c
index 01847e6c5ad..c8aaf4c7fa9 100644
--- a/rpc/rpc-lib/src/rpcsvc.c
+++ b/rpc/rpc-lib/src/rpcsvc.c
@@ -2859,7 +2859,7 @@ rpcsvc_transport_privport_check (rpcsvc_t *svc, char *volname, uint16_t port)
return ret;
gf_log (GF_RPCSVC, GF_LOG_TRACE, "Client port: %d", (int)port);
- /* If the port is already a privileged one, dont bother with checking
+ /* If the port is already a privileged one, don't bother with checking
* options.
*/
if (port <= 1024) {
@@ -2973,7 +2973,7 @@ rpcsvc_match_subnet_v4 (const char *addrtok, const char *ipaddr)
*slash = '\0';
/*
* Find the IPv4 network mask in network byte order.
- * IMP: String slash+1 is already validated, it cant have value
+ * IMP: String slash+1 is already validated, it can't have value
* more than IPv4_ADDR_SIZE (32).
*/
prefixlen = (uint32_t) atoi (slash + 1);