fix read_addr().

This commit is contained in:
Christopher Jeffrey 2014-11-11 11:29:46 -08:00
parent a4ec5de4db
commit 36e67831eb

View File

@ -5759,7 +5759,7 @@ read_addr(const std::string addr) {
leveldb::Status status = leveldb::DB::Open(options, path.string(), &pdb); leveldb::Status status = leveldb::DB::Open(options, path.string(), &pdb);
if (!status.ok()) { if (!status.ok()) {
break; return head;
} }
leveldb::Slice start = "t"; leveldb::Slice start = "t";
@ -5827,7 +5827,9 @@ read_addr(const std::string addr) {
goto found; goto found;
} }
} }
found: found:
continue;
} }
} }