summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-07-19 06:15:34 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:11:20 -0700
commita81a794c9311f90551277670c0f9d201bd96abfc (patch)
treeed409d5f731aef754a65fd860445a75913d93269 /libglusterfs/src/dict.c
parent0985f3995e446e23ca6edc380b998581889ae5d0 (diff)
debug/* Change STACK_UNWIND TO STACK_UNWIND_STRICT
Also fixed log msg typo found in bug 1031 Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r--libglusterfs/src/dict.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c
index ca6275f26..1f6011623 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -2409,7 +2409,7 @@ dict_unserialize (char *orig_buf, int32_t size, dict_t **fill)
if ((buf + DICT_HDR_LEN) > (orig_buf + size)) {
gf_log ("dict", GF_LOG_ERROR,
- "undersized buffer passsed");
+ "undersized buffer passed");
goto out;
}
@@ -2432,7 +2432,7 @@ dict_unserialize (char *orig_buf, int32_t size, dict_t **fill)
"No room for keylen (size %d).",
DICT_DATA_HDR_KEY_LEN);
gf_log ("dict", GF_LOG_ERROR,
- "undersized buffer passsed");
+ "undersized buffer passed");
goto out;
}
memcpy (&hostord, buf, sizeof(hostord));
@@ -2444,7 +2444,7 @@ dict_unserialize (char *orig_buf, int32_t size, dict_t **fill)
"No room for vallen (size %d).",
DICT_DATA_HDR_VAL_LEN);
gf_log ("dict", GF_LOG_ERROR,
- "undersized buffer passsed");
+ "undersized buffer passed");
goto out;
}
memcpy (&hostord, buf, sizeof(hostord));
@@ -2455,7 +2455,7 @@ dict_unserialize (char *orig_buf, int32_t size, dict_t **fill)
gf_log ("dict", GF_LOG_DEBUG,
"No room for key (size %d).", keylen);
gf_log ("dict", GF_LOG_ERROR,
- "undersized buffer passsed");
+ "undersized buffer passed");
goto out;
}
key = buf;
@@ -2465,7 +2465,7 @@ dict_unserialize (char *orig_buf, int32_t size, dict_t **fill)
gf_log ("dict", GF_LOG_DEBUG,
"No room for value (size %d).", vallen);
gf_log ("dict", GF_LOG_ERROR,
- "undersized buffer passsed");
+ "undersized buffer passed");
goto out;
}
value = get_new_data ();