From 251d863a751bf92a41693228ede784a0cc77ff52 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 25 May 2004 16:51:49 +0000 Subject: [PATCH] The expression's head was first checking for LT, and then for LTIME, and the latter was never reached. -- Stanislav Sinyagin git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@258 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_rpncalc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_rpncalc.c b/src/rrd_rpncalc.c index 52d7a11..94796d1 100644 --- a/src/rrd_rpncalc.c +++ b/src/rrd_rpncalc.c @@ -300,6 +300,7 @@ rpn_parse(void *key_hash,char *expr,long (*lookup)(void *,char*)){ match_op(OP_DUP,DUP) match_op(OP_EXC,EXC) match_op(OP_POP,POP) + match_op(OP_LTIME,LTIME) match_op(OP_LT,LT) match_op(OP_LE,LE) match_op(OP_GT,GT) @@ -320,7 +321,6 @@ rpn_parse(void *key_hash,char *expr,long (*lookup)(void *,char*)){ match_op(OP_INF,INF) match_op(OP_ISINF,ISINF) match_op(OP_NOW,NOW) - match_op(OP_LTIME,LTIME) match_op(OP_TIME,TIME) match_op(OP_ATAN,ATAN) -- 2.30.2