mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 10:58:15 +00:00
Merge ast_str_opaque branch (discontinue usage of ast_str internals)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -960,9 +960,8 @@ static struct call_followme *find_realtime(const char *name)
|
||||
}
|
||||
/* This one has to exist; it was part of the query */
|
||||
ordstr = ast_variable_retrieve(cfg, catg, "ordinal");
|
||||
ast_str_make_space(&str, strlen(numstr) + 1);
|
||||
ast_copy_string(str->str, numstr, str->len);
|
||||
if ((cur = create_followme_number(str->str, timeout, atoi(ordstr)))) {
|
||||
ast_str_set(&str, 0, "%s", numstr);
|
||||
if ((cur = create_followme_number(ast_str_buffer(str), timeout, atoi(ordstr)))) {
|
||||
AST_LIST_INSERT_TAIL(&new->numbers, cur, entry);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user