summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd
diff options
context:
space:
mode:
authorsrijan-sivakumar <ssivakum@redhat.com>2020-09-21 19:14:01 +0530
committerSanju Rakonde <sanjurakonde@review.gluster.org>2020-09-24 03:32:54 +0000
commitecb8d666753cc536105538b178a9eaf8874dafdf (patch)
tree3a52d5235b8d3a31b5e86e3f7786231158f7576d /tests/bugs/glusterd
parent5a1644c892adeb370fdd6eb2adf0d49e0cf553b4 (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/glusterd')
0 files changed, 0 insertions, 0 deletions