Navigation



Ignore:
Timestamp:
May 15, 2013, 12:18:30 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

New macro HOOK_MASK to ease call of the fd_hook_register function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dbg_msg_dumps/dbg_msg_dumps.c

    r1126 r1128  
    6464        TRACE_ENTRY("%p", conffile);
    6565       
    66         CHECK_FCT( fd_hook_register( ((1 << HOOK_MESSAGE_RECEIVED) | (1 << HOOK_MESSAGE_SENT)),
     66        CHECK_FCT( fd_hook_register( HOOK_MASK( HOOK_MESSAGE_RECEIVED, HOOK_MESSAGE_SENT ),
    6767                                        md_hook_cb, NULL, NULL, &md_hdl) );
    6868       
Note: See TracChangeset for help on using the changeset viewer.