summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-06-26 13:36:00 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-29 10:15:13 -0700
commit4fd96085c5a029e7be9e24e0c33b13268b290d6b (patch)
tree68ed686ea02ef70baf56684c40f6434a2e725723
parent75da95d8419dd209d879194e1b73a6190129a504 (diff)
Fix some trivial typos.
I noticed that there were some minor spelling mistakes/typos in some of the source files. This patch fixes the ones I've found. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
-rw-r--r--auth/addr/src/addr.c6
-rw-r--r--xlators/protocol/client/src/client-protocol.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/auth/addr/src/addr.c b/auth/addr/src/addr.c
index 5c293be4c30..3bd893d6e5d 100644
--- a/auth/addr/src/addr.c
+++ b/auth/addr/src/addr.c
@@ -30,7 +30,7 @@
#include "dict.h"
#define ADDR_DELIMITER " ,"
-#define PRIVILAGED_PORT_CIELING 1024
+#define PRIVILEGED_PORT_CEILING 1024
#ifndef AF_INET_SDP
#define AF_INET_SDP 27
@@ -111,9 +111,9 @@ gf_auth (dict_t *input_params, dict_t *config_params)
}
peer_port = atoi (service);
- if (peer_port >= PRIVILAGED_PORT_CIELING) {
+ if (peer_port >= PRIVILEGED_PORT_CEILING) {
gf_log ("auth/addr", GF_LOG_ERROR,
- "client is bound to port %d which is not privilaged",
+ "client is bound to port %d which is not privileged",
peer_port);
return AUTH_DONT_CARE;
}
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 24769e8e420..86107f9bc9e 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -32,7 +32,7 @@
#include "byte-order.h"
#define CLIENT_PROTO_FORGET_LIMIT 128
-#define CLIENT_PORT_CIELING 1023
+#define CLIENT_PORT_CEILING 1023
#define GF_CLIENT_INODE_SELF 0
#define GF_CLIENT_INODE_PARENT 1