Fix major typo
authorMark Spencer <markster@digium.com>
Tue, 25 May 2004 04:50:54 +0000 (04:50 +0000)
committerMark Spencer <markster@digium.com>
Tue, 25 May 2004 04:50:54 +0000 (04:50 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3066 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index cd7aaeb..f566412 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -476,7 +476,7 @@ struct ast_channel *ast_get_channel_by_name_locked(char *channame)
                if (!strcasecmp(chan->name, channame))
                        return chan;
                ast_mutex_unlock(&chan->lock);
-               chan = ast_channel_walk_locked(NULL);
+               chan = ast_channel_walk_locked(chan);
        }
        return NULL;
 }