]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize stream to avoid a compilation error.
authorSean Bright <sean@malleable.com>
Thu, 25 Mar 2010 17:21:06 +0000 (17:21 +0000)
committerSean Bright <sean@malleable.com>
Thu, 25 Mar 2010 17:21:06 +0000 (17:21 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@254547 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index b8fb00bc40a94d34c991c353a70cec1a98d4cd5d..fbef8abe16997bd67c85802fdfaf2623861a6f4e 100644 (file)
@@ -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";