[asterisk-commits] twilson: branch russell/messaging r311554 - /team/russell/messaging/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 22 17:40:46 CDT 2011


Author: twilson
Date: Tue Mar 22 17:40:42 2011
New Revision: 311554

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=311554
Log:
Don't repeat manipulation of res

Since we already do this above at the strcasecmp we were accidentally
returning that we matched when we didn't.

Modified:
    team/russell/messaging/main/message.c

Modified: team/russell/messaging/main/message.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/messaging/main/message.c?view=diff&rev=311554&r1=311553&r2=311554
==============================================================================
--- team/russell/messaging/main/message.c (original)
+++ team/russell/messaging/main/message.c Tue Mar 22 17:40:42 2011
@@ -655,7 +655,7 @@
 	}
 	ast_rwlock_unlock(&tech_holder->tech_lock);
 
-	return res ? 0 : CMP_MATCH | CMP_STOP;
+	return res;
 }
 
 /*!




More information about the asterisk-commits mailing list