repeat after me ...
authorRussell Bryant <russell@russellbryant.com>
Wed, 12 Jul 2006 19:25:50 +0000 (19:25 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 12 Jul 2006 19:25:50 +0000 (19:25 +0000)
I WILL TYPE "make" BEFORE COMMITTING ANY CODE

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c21846f..91aaef1 100644 (file)
@@ -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 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");
 
        if (!p) {
                ast_log(LOG_DEBUG, "Asked to hangup channel that was not connected\n");