diff options
author | David Mazieres <dm@uun.org> | 2014-01-30 03:28:01 -0800 |
---|---|---|
committer | David Mazieres <dm@uun.org> | 2014-01-30 03:28:01 -0800 |
commit | e46763186be8262831057ec32f5bcc350a5a4df8 (patch) | |
tree | 2112694f9d16c9f5e787628e8a95bf2983ce3010 | |
parent | c22f4b21821ffa4218211f0916fe6c58b68ca503 (diff) |
hash_id_ was uninitialized
-rw-r--r-- | protocol.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol.cc b/protocol.cc index 425ce3b..797fdde 100644 --- a/protocol.cc +++ b/protocol.cc @@ -357,6 +357,7 @@ hash_lookup::create (const hash_info &rhi) hi_.message_id = rhi.message_id; hi_.hash_stamp = rhi.hash_stamp; hi_.dirs.clear(); + hash_id_ = sqlite3_last_insert_rowid(sqlite3_db_handle(makehash_.get())); ok_ = true; } |