mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Cleanup approach in 217804 and don't reach inside the sig_pvt.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3198,4 +3198,11 @@ int pri_maintenance_bservice(struct pri *pri, struct sig_pri_chan *p, int change
|
||||
}
|
||||
#endif
|
||||
|
||||
void sig_pri_fixup(struct ast_channel *oldchan, struct ast_channel *newchan, struct sig_pri_chan *pchan)
|
||||
{
|
||||
if (pchan->owner == oldchan) {
|
||||
pchan->owner = newchan;
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* HAVE_PRI */
|
||||
|
Reference in New Issue
Block a user