summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src
diff options
context:
space:
mode:
authorHarshavardhana <fharshav@redhat.com>2011-11-15 14:44:24 -0800
committerVijay Bellur <vijay@gluster.com>2011-11-16 21:08:56 -0800
commit51a78ad316975763d45c11affa571892e03643e8 (patch)
tree9406dee3a6139ebd9624fafd92af0a156d531fcf /rpc/rpc-transport/socket/src
parent8c182c6bf700cdc8a7e2d4b75109ad0acee2e70d (diff)
glusterfs: An effort to fix all the spell mistakes and typo
in the entire glusterfs codebase. This patch fixes many of spell mistakes and typo in the entire glusterfs codebase and all supported modules. Change-Id: I83238a41aa08118df3cf4d1d605505dd3cda35a1 BUG: 3809 Signed-off-by: Harshavardhana <fharshav@redhat.com> Reviewed-on: http://review.gluster.com/731 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc/rpc-transport/socket/src')
-rw-r--r--rpc/rpc-transport/socket/src/name.c4
-rw-r--r--rpc/rpc-transport/socket/src/socket.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/rpc/rpc-transport/socket/src/name.c b/rpc/rpc-transport/socket/src/name.c
index 8de1c5fcd42..bed59d58b70 100644
--- a/rpc/rpc-transport/socket/src/name.c
+++ b/rpc/rpc-transport/socket/src/name.c
@@ -96,7 +96,7 @@ af_unix_client_bind (rpc_transport_t *this,
char *path = data_to_str (path_data);
if (!path || strlen (path) > UNIX_PATH_MAX) {
gf_log (this->name, GF_LOG_TRACE,
- "bind-path not specfied for unix socket, "
+ "bind-path not specified for unix socket, "
"letting connect to assign default value");
goto err;
}
@@ -112,7 +112,7 @@ af_unix_client_bind (rpc_transport_t *this,
}
} else {
gf_log (this->name, GF_LOG_TRACE,
- "bind-path not specfied for unix socket, "
+ "bind-path not specified for unix socket, "
"letting connect to assign default value");
}
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 089afb573d5..0fd031d8912 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -318,7 +318,7 @@ __socket_server_bind (rpc_transport_t *this)
strerror (errno));
}
- //reuse-address doesnt work for unix type sockets
+ /* reuse-address doesn't work for unix type sockets */
if (AF_UNIX == SA (&this->myinfo.sockaddr)->sa_family) {
memcpy (&unix_addr, SA (&this->myinfo.sockaddr),
this->myinfo.sockaddr_len);
@@ -2160,7 +2160,7 @@ socket_listen (rpc_transport_t *this)
if (sock != -1) {
gf_log_callingfn (this->name, GF_LOG_DEBUG,
- "alreading listening");
+ "already listening");
return ret;
}