tdb2: split expand into functions and test separately.
[ccan] / junkcode / tinkertim@gmail.com-grawk /
2009-04-23 Rusty RussellMore junkcode!