CVSROOT:        /cvs
Module name:    src
Changes by:     e...@cvs.openbsd.org    2012/09/19 03:06:35

Modified files:
        usr.sbin/smtpd : aliases.c expand.c forward.c lka_session.c 
                         map_db.c map_static.c map_stdio.c smtpd.h 

Log message:
start cleaning the expansion code:

- change expandtree_* prefix to expand_ for better readability and
because the structure might change at some point
- rename <>_free_nodes() to <>_free()
- remove unused <>_remove_node()
- refcounting has no purpose at all; just remove it as well as the
decrement/increment functions, and replace the latter with <>_insert
- expandnode flags is only used to know if it's been processed or not,
don't make it a flag but a simple field with clear name.

ok gilles@ chl@

Reply via email to