Fix tiny typo
authorMark Spencer <markster@digium.com>
Tue, 22 Apr 2003 19:20:06 +0000 (19:20 +0000)
committerMark Spencer <markster@digium.com>
Tue, 22 Apr 2003 19:20:06 +0000 (19:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@882 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_local.c

index c8d4371..69ed0c9 100755 (executable)
@@ -236,7 +236,7 @@ static int local_hangup(struct ast_channel *ast)
                while(cur) {
                        if (cur == p) {
                                if (prev)
-                                       prev->next == cur->next;
+                                       prev->next = cur->next;
                                else
                                        locals = cur->next;
                                break;