[asterisk-commits] russell: branch 1.4 r48956 - in /branches/1.4: ./ funcs/func_math.c

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


Author: russell
Date: Sun Dec 24 23:21:20 2006
New Revision: 48956

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48956
Log:
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:
    branches/1.4/   (props changed)
    branches/1.4/funcs/func_math.c

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

Modified: branches/1.4/funcs/func_math.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/funcs/func_math.c?view=diff&rev=48956&r1=48955&r2=48956
==============================================================================
--- branches/1.4/funcs/func_math.c (original)
+++ branches/1.4/funcs/func_math.c Sun Dec 24 23:21:20 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