[Bugs] [Bug 1608991] Remove code duplication in socket
bugzilla at redhat.com
bugzilla at redhat.com
Thu Aug 2 02:59:03 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1608991
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20571 committed in master by "Raghavendra G"
<rgowdapp at redhat.com> with a commit message- socket: Remove code duplication
While I was reading code, I saw that socket_submit_request()
and socket_submit_reply() are identical except for @a_byte and
the source of @msg object being different.
This patch moves all of the common code to a new function with
the differing vars passed as parameters by the callers.
Change-Id: I7a62ae72f10c34dc8de01b250d89a77ec5ab490d
fixes: bz#1608991
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list