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
1.4
Russell Bryant 20 years ago
parent 3c30abc476
commit 204ba36938

@ -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);

Loading…
Cancel
Save