CVSROOT:        /cvs
Module name:    src
Changes by:     r...@cvs.openbsd.org    2011/05/05 06:01:44

Modified files:
        usr.sbin/relayd: carp.c check_icmp.c check_tcp.c control.c hce.c 
                         parse.y pfe.c pfe_filter.c pfe_route.c relay.c 
                         relay_udp.c relayd.c snmp.c 

Log message:
Update all logging and debug functions to use the __func__ macro
instead of static function names.  __func__ is C99 and perfectly fine
to use. It also avoids printing errors; for example if a statement
log_debug("foo:"..) was moved or copied from function foo() to bar()
and the log message was not updated...

Reply via email to