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
This commit is contained in:
Russell Bryant 2006-06-06 20:37:51 +00:00
parent 3c30abc476
commit 204ba36938
1 changed files with 1 additions and 1 deletions

View File

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