Ignore:
Timestamp:
May 19, 2006 3:54:09 PM (18 years ago)
Author:
bennylp
Message:

Changed PJ_ASSERT_RETURN to evaluate the expression in the pj_assert, so that the message is displayed when the program stops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/assert.h

    r161 r456  
    6161#   define PJ_ASSERT_RETURN(expr,retval)    \ 
    6262            do { \ 
    63                 if (!(expr)) { pj_assert(0); return retval; } \ 
     63                if (!(expr)) { pj_assert(expr); return retval; } \ 
    6464            } while (0) 
    6565#else 
Note: See TracChangeset for help on using the changeset viewer.