[asterisk-commits] mmichelson: branch 1.6.0 r145581 - in	/branches/1.6.0: ./ main/features.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Wed Oct  1 16:33:55 CDT 2008
    
    
  
Author: mmichelson
Date: Wed Oct  1 16:33:55 2008
New Revision: 145581
URL: http://svn.digium.com/view/asterisk?view=rev&rev=145581
Log:
Merged revisions 145579 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk
........
r145579 | mmichelson | 2008-10-01 16:33:11 -0500 (Wed, 01 Oct 2008) | 4 lines
if (!(x) == 0) is the same as
if (x).
........
Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/main/features.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/main/features.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/main/features.c?view=diff&rev=145581&r1=145580&r2=145581
==============================================================================
--- branches/1.6.0/main/features.c (original)
+++ branches/1.6.0/main/features.c Wed Oct  1 16:33:55 2008
@@ -2193,7 +2193,7 @@
 		ast_copy_string(chan->exten, "h", sizeof(chan->exten));
 		chan->priority = 1;
 		ast_channel_unlock(chan);
-		while (!(res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num, &found, 1)) == 0) {
+		while ((res = ast_spawn_extension(chan, chan->context, chan->exten, chan->priority, chan->cid.cid_num, &found, 1))) {
 			chan->priority++;
 		}
 		if (found && res) 
    
    
More information about the asterisk-commits
mailing list