diff options
Diffstat (limited to 'channels')
-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 c21846f25..91aaef100 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3150,7 +3150,7 @@ static int sip_hangup(struct ast_channel *ast) struct sip_pvt *p = ast->tech_pvt; int needcancel = FALSE; struct ast_flags locflags = {0}; - struct ast_channel oldowner = ast; + struct ast_channel *oldowner = ast; if (!p) { ast_log(LOG_DEBUG, "Asked to hangup channel that was not connected\n"); |