[asterisk-commits] kpfleming: trunk r220495 - /trunk/main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 25 09:44:43 CDT 2009
Author: kpfleming
Date: Fri Sep 25 09:44:40 2009
New Revision: 220495
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220495
Log:
Correct sense of logic test committed in revision 220494.
Modified:
trunk/main/channel.c
Modified: trunk/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/channel.c?view=diff&rev=220495&r1=220494&r2=220495
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Fri Sep 25 09:44:40 2009
@@ -1427,7 +1427,7 @@
}
if ((chan = ao2_find(channels, &tmp_chan,
- (!ast_strlen_zero(name) && (name_len != 0)) ? OBJ_POINTER : 0))) {
+ (!ast_strlen_zero(name) && (name_len == 0)) ? OBJ_POINTER : 0))) {
return chan;
}
More information about the asterisk-commits
mailing list