fix read_addr().

This commit is contained in:
Christopher Jeffrey 2014-11-11 11:29:46 -08:00
parent a4ec5de4db
commit 36e67831eb
1 changed files with 3 additions and 1 deletions

View File

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