One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-11-14 15:13:22 +00:00
parent b4839d4d4a
commit 0f6892419e
6 changed files with 13 additions and 11 deletions

View File

@@ -267,7 +267,7 @@ struct ast_variable *ast_variable_new(const char *name, const char *value, const
variable->name = strcpy(dst, name);
dst += name_len;
variable->value = strcpy(dst, value);
dst += fn_len;
dst += val_len;
variable->file = strcpy(dst, filename);
}
return variable;