git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32604
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int *to = ast_calloc(1, sizeof(*to));
int livechannels = 0;
int tmpto;
- long totalwait = 0, wtd, towas;
+ long totalwait = 0, wtd, towas = *to;
char *callfromname;
char *pressbuttonname;
struct number *nm;
struct ast_channel *outbound;
struct ast_channel *caller;
- struct ast_channel *winner;
+ struct ast_channel *winner = NULL;
char dialarg[512];
int dg, idx;
char *rest, *number;