HomeClusterLabs Projects

Totempg: remove duplicate memcpy in mcast_msg func

Description

Totempg: remove duplicate memcpy in mcast_msg func

In function mcast_msg of totempg.c, line 923, there is a memcpy call in
"else" branch, and also another memcpy out of the "else" branch, while
the two calls have the same parameters. It is possibleto remove the memcpy
in "else" branch.

Signed-off-by: Bin Liu <bliu@suse.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
Bin Liu <bliu@suse.com>Authored on Dec 1 2016, 9:37 PM
jfriesseCommitted on Dec 5 2016, 3:40 AM
Parents
rC034553c0808d: man: Modify man-page according to command usage
Branches
Unknown
Tags
Unknown

Event Timeline