tdb2: log an error when out of memory formatting message.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:20 +0000 (23:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 12:49:20 +0000 (23:19 +1030)
commit8da574fe7c6021afcb0afb8ae3a6bd462ee14413
tree9fb1cf4b398c34de87f8dad6f70a64652726c0fa
parentac8e5733a4a06c47096f582d23036e0eb6db1e88
tdb2: log an error when out of memory formatting message.

Log it at level ERROR and log the raw unformatted message at the requested
level.
ccan/tdb2/tdb.c