summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-07-06 05:47:29 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-06 12:37:07 -0700
commitf0314a6b781126dbbb25edf37460f68750d88896 (patch)
tree5434a3b86a0709a8ccf383234d529cc16b4fe9ba /xlators/protocol
parent8fae42f8203df6a49b33eb7341def9782251f269 (diff)
protocol/client - replace ZR_FILENAME_MAX by NAME_MAX
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/client/src/client-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index 24e0d6c31..c912c7746 100644
--- a/xlators/protocol/client/src/client-protocol.c
+++ b/xlators/protocol/client/src/client-protocol.c
@@ -5346,7 +5346,7 @@ client_checksum_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen,
if (op_ret >= 0) {
fchecksum = rsp->fchecksum;
- dchecksum = rsp->dchecksum + ZR_FILENAME_MAX;
+ dchecksum = rsp->dchecksum + NAME_MAX;
}
STACK_UNWIND (frame, op_ret, op_errno, fchecksum, dchecksum);