diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:21:09 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:21:09 +0000 |
commit | 0834cc681524453468fdf3f722afe1a5bd605972 (patch) | |
tree | 3f7eb6df198aee42c68903a7369c5cf49ab937c9 /channels/chan_sip.c | |
parent | 4f4ebd1094f1ea8cd932338bae226dd433dc7c1b (diff) |
Initialize stream to avoid a compilation error.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@254548 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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 0c946cf73..f011f16d3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -20957,7 +20957,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"; |