diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:21:06 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:21:06 +0000 |
commit | 3756ababc0eca5ea37406ba5f751597af3fe0c21 (patch) | |
tree | b4031390cbd434bc2546bc96608d482114a0dbe8 | |
parent | 27c733b21d402f487dec95cbbaf2e8488ccba54c (diff) |
Initialize stream to avoid a compilation error.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@254547 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b8fb00bc4..fbef8abe1 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20023,7 +20023,7 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char ast_copy_string(buf, (p->t38.state == T38_DISABLED) ? "0" : "1", buflen); } else if (!strcasecmp(args.param, "rtpdest")) { struct sockaddr_in sin; - struct ast_rtp *stream; + struct ast_rtp *stream = NULL; if (ast_strlen_zero(args.type)) args.type = "audio"; |