diff options
author | Amar Tumballi <amar@gluster.com> | 2009-06-23 13:41:26 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-23 14:26:40 -0700 |
commit | c15ab84a1dd687e9e97b17fb7250ba945857026e (patch) | |
tree | 2785645be1e8e0c984e5e8707c3a7ecd445f9ea1 /xlators/protocol/server/src/server-helpers.c | |
parent | 60aaf35a044357b3a639e0d8f46102a3272b5c65 (diff) |
server-protocol: interpret the 'op' value properly when a packet is received.
Ref: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=35
The check done earlier was not handling the case when a 'op' is == MAX_VALUE (which
is not defined), and used to skip to the next array (like gf_mops[MAX] == gf_cbks[0])
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/protocol/server/src/server-helpers.c')
0 files changed, 0 insertions, 0 deletions