mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user