[Asterisk-cvs] asterisk/channels chan_features.c,1.1,1.2
markster at lists.digium.com
markster at lists.digium.com
Wed Nov 24 22:19:49 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv19183/channels
Modified Files:
chan_features.c
Log Message:
Small chan_features patch (bug #2939)
Index: chan_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_features.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- chan_features.c 6 Nov 2004 21:33:01 -0000 1.1
+++ chan_features.c 25 Nov 2004 03:19:18 -0000 1.2
@@ -427,7 +427,7 @@
struct feature_pvt *p;
struct ast_channel *chan = NULL;
p = features_alloc(data, format);
- if (!p->subs[SUB_REAL].owner)
+ if (p && !p->subs[SUB_REAL].owner)
chan = features_new(p, AST_STATE_DOWN, SUB_REAL);
return chan;
}
More information about the svn-commits
mailing list