]> git.ozlabs.org Git - ccan/commit
tdb2: make tdb_name() valid early in tdb_open()
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Apr 2011 11:18:33 +0000 (20:48 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 7 Apr 2011 11:18:33 +0000 (20:48 +0930)
commit66ead2bcb732aa53bde5092b34c16d780df779ea
tree9d7821b43c365eb65c2185c777bc28f47e9a0bf3
parent142e3d312251b46526350ddfebaca6286146aaf2
tdb2: make tdb_name() valid early in tdb_open()

Otherwise tdb_name() can be NULL in log functions.  And we might as
well allocate it with the tdb, as well.
ccan/tdb2/open.c