Module: sip-router Branch: kamailio_3.0 Commit: a75b03f72e42740b410815330c895f16368895bd URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a75b03f7...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Dec 11 10:29:50 2009 +0100
core: fix define of rval_get_int_handle_ret
---
rvalue.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/rvalue.c b/rvalue.c index ef50d3b..ef8dda0 100644 --- a/rvalue.c +++ b/rvalue.c @@ -1035,7 +1035,8 @@ error: if (unlikely((ret)<0)) \ RVE_LOG(L_WARN, rve, txt); \ }while(0) -#elif define RVAL_GET_INT_ERR_IGN \ +#elif defined RVAL_GET_INT_ERR_IGN +#define rval_get_int_handle_ret(ret, txt, rve) \ do { \ if (unlikely((ret)<0)) \ (ret)=0; \