Navigation


Changeset 183:960764fbc68f in freeDiameter for include


Ignore:
Timestamp:
Feb 4, 2010, 4:22:55 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix compilation error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfreeDiameter.h

    r181 r183  
    190190/* Helper for debugging by adding traces -- for debuging a specific location of the code */
    191191#define TRACE_HERE()    \
    192         TRACE_DEBUG(NONE, " -- debug checkpoint -- ");
     192        TRACE_DEBUG(NONE, " -- debug checkpoint %d -- ", fd_breakhere());
     193int fd_breakhere(void);
    193194
    194195/* Helper for tracing the CHECK_* macros bellow -- very very verbose code execution! */
     
    478479static __inline__ int fd_thr_term(pthread_t * th)
    479480{
    480         int ret = 0;
    481481        void * th_ret = NULL;
    482482       
     
    491491       
    492492        /* Then join the thread */
    493         CHECK_POSIX_DO( ret = pthread_join(*th, &th_ret), /* continue */ );
     493        CHECK_POSIX( pthread_join(*th, &th_ret) );
    494494       
    495495        if (th_ret == PTHREAD_CANCELED) {
     
    502502        *th = (pthread_t)NULL;
    503503       
    504         return ret;
     504        return 0;
    505505}
    506506
Note: See TracChangeset for help on using the changeset viewer.