Remove unused assignment
Cast to int
More specific ifdef's
Add pairs xlat
There are *very* few places where assuming a tmpl is talloced is a good idea

There are clearly two variants of some tmpl functions, one takes a stack allocated tmpl, the other doesn't.

We don't malloc memory when we don't have to, and we don't have to for tmpls or cursors or maps.
Mark map_verify as unused
Hmm a 1k line buffer, and a 4k filename buffer, something seems reversed there...
Report space required for the whole %{pairs:} string.
Double xlat internal buffers until we have a proper fix
Add warning when sql.authorize is called and no queries have been configured/allowed
Formatting
More formatting