Skip to content
Snippets Groups Projects
Commit 204ba369 authored by Russell Bryant's avatar Russell Bryant
Browse files

move a declaration to the beginning of a block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 3c30abc4
No related merge requests found
......@@ -848,8 +848,8 @@ static void findmeexec(void *args)
outbound->cdr = ast_cdr_alloc();
}
if (outbound->cdr) {
ast_cdr_init(outbound->cdr, outbound);
char tmp[256];
ast_cdr_init(outbound->cdr, outbound);
snprintf(tmp, 256, "%s/%s", "Local", dialarg);
ast_cdr_setapp(outbound->cdr,"FollowMe",tmp);
ast_cdr_update(outbound);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment