summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c
index 1884ec69c..f02f3014b 100644
--- a/main/config.c
+++ b/main/config.c
@@ -268,7 +268,7 @@ struct ast_variable *ast_variable_new(const char *name, const char *value, const
dst += name_len;
variable->value = strcpy(dst, value);
dst += fn_len;
- variable->file = strcpy(dst, value);
+ variable->file = strcpy(dst, filename);
}
return variable;
}