Module: sip-router Branch: sr_3.0 Commit: 866eba65f726cd39a937a0d8a67ae64eafee8b5b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=866eba65...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Fri Dec 11 10:29:50 2009 +0100
core: fix define of rval_get_int_handle_ret (cherry picked from commit a75b03f72e42740b410815330c895f16368895bd)
---
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; \