Filter

Displaying 0 — 1 of 1 commits

openbsd/OpenBSD: src/usr.sbin/smtpd map.c

change prototypes for map_*_get() functions, we need the get-er function
to fill the size of value for the caller.

have map_lookup() actually lookup the parser in map_parsers table and
call it if it is set, otherwise return raw value which is similar to
current behavior. currently, no map kind has a parser set, so this is
essentially no functionnal change.

fix map_stdio_get(), it was not used yet in -current but i spotted a
bug while enabling it in my sandbox. it returns key and value instead
of key.
File
src/usr.sbin/smtpd/map.c