]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
foreach: fix case where iterators are not on the stack.
[ccan] / ccan / tdb2 / private.h
index 030b46ca38a2fbe1e4b751ebe7717133d98a37d3..63354a43dd829c52f82d0a933783f6c67ce8782b 100644 (file)
@@ -390,6 +390,9 @@ struct tdb_context {
        /* Direct access information */
        struct tdb_access_hdr *access;
 
+       /* Last error we returned. */
+       enum TDB_ERROR last_error;
+
        /* The actual file information */
        struct tdb_file *file;
 };