[asterisk-commits] russell: trunk r48957 - in /trunk: ./ funcs/func_math.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Dec 24 22:22:41 MST 2006


Author: russell
Date: Sun Dec 24 23:22:40 2006
New Revision: 48957

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48957
Log:
Merged revisions 48956 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48956 | russell | 2006-12-25 00:21:20 -0500 (Mon, 25 Dec 2006) | 14 lines

Merged revisions 48955 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48955 | russell | 2006-12-25 00:19:48 -0500 (Mon, 25 Dec 2006) | 6 lines

Fix an error introduced by copying and pasting the handling of the >= operator
for the MATH function.  If a single equal sign was used as an operator, the
function would treat it is as if it were the >= operator.  Now, it properly
handles it as an invalid operator.
(issue #8665, patch by tempest1)

........

................

Modified:
    trunk/   (props changed)
    trunk/funcs/func_math.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/funcs/func_math.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_math.c?view=diff&rev=48957&r1=48956&r2=48957
==============================================================================
--- trunk/funcs/func_math.c (original)
+++ trunk/funcs/func_math.c Sun Dec 24 23:22:40 2006
@@ -120,7 +120,6 @@
 			iaction = LTEFUNCTION;
 		}
 	} else if ((op = strchr(mvalue1, '='))) {
-		iaction = GTFUNCTION;
 		*op = '\0';
 		if (*(op + 1) == '=') {
 			*++op = '\0';



More information about the asterisk-commits mailing list