diff options
author | srijan-sivakumar <ssivakum@redhat.com> | 2020-09-21 19:14:01 +0530 |
---|---|---|
committer | Sanju Rakonde <sanjurakonde@review.gluster.org> | 2020-09-24 03:32:54 +0000 |
commit | ecb8d666753cc536105538b178a9eaf8874dafdf (patch) | |
tree | 3a52d5235b8d3a31b5e86e3f7786231158f7576d /tests/bugs/bug-1702299.t | |
parent | 5a1644c892adeb370fdd6eb2adf0d49e0cf553b4 (diff) |
glusterd: Removing strlen and using existing len field of data_t
Issue: The strlen being used to find the length of the dictionary is
an extra step as there already exists len field in data_t which contains
the same value.
Code Change :
1. Replacing the strlen with len.
2. Removing a typecast which wasn't required.
Fixes: #1497
Change-Id: I2780c3876b17b8825038d222fb489a87e090411f
Signed-off-by: srijan-sivakumar <ssivakum@redhat.com>
Diffstat (limited to 'tests/bugs/bug-1702299.t')
0 files changed, 0 insertions, 0 deletions