summaryrefslogtreecommitdiff
path: root/apps/confbridge
diff options
context:
space:
mode:
Diffstat (limited to 'apps/confbridge')
-rw-r--r--apps/confbridge/conf_config_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/confbridge/conf_config_parser.c b/apps/confbridge/conf_config_parser.c
index dfedffe97..c915b184c 100644
--- a/apps/confbridge/conf_config_parser.c
+++ b/apps/confbridge/conf_config_parser.c
@@ -1355,7 +1355,7 @@ error:
static void conf_user_profile_copy(struct user_profile *dst, struct user_profile *src)
{
- memcpy(dst, src, sizeof(*dst));
+ *dst = *src;
}
const struct user_profile *conf_find_user_profile(struct ast_channel *chan, const char *user_profile_name, struct user_profile *result)