MCPcopy Create free account
hub / github.com/RsyncProject/rsync / copy_section

Function copy_section

loadparm.c:269–272  ·  view source on GitHub ↗

Copy local_vars into a new section. No need to strdup since we don't free. */

Source from the content-addressed store, hash-verified

267
268/* Copy local_vars into a new section. No need to strdup since we don't free. */
269static void copy_section(local_vars *psectionDest, local_vars *psectionSource)
270{
271 memcpy(psectionDest, psectionSource, sizeof psectionDest[0]);
272}
273
274/* Initialise a section to the defaults. */
275static void init_section(local_vars *psection)

Callers 1

init_sectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected