diff options
author | Basavanagowda Kanur <gowda@gluster.com> | 2009-03-11 18:57:17 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-12 16:10:24 +0530 |
commit | 31c817836c9c56eca1441b3b6f8b83db41c67f94 (patch) | |
tree | 7a01371cb1685845cf20c393ef83127572df0757 /xlators/debug | |
parent | b1c6a8507d59d16f9691652703be48f4539ca093 (diff) |
xlator.c option validation should check for empty valid options list (for strings).
'if (!opt->value)' always fails as 'value' member is an array of size ZR_OPTION_MAX_ARRAY_SIZE and is always non-null. it should have been 'if (opt->value[0] == NULL)' instead.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/debug')
0 files changed, 0 insertions, 0 deletions