Permalink
Browse files

Fix garbage after the database_type

  • Loading branch information...
1 parent 06f3bcb commit 5f6c78d3744e62bfb079ca2bd8e3fa6a32ea5643 @borisz borisz committed Oct 9, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 ChangeLog
  2. +2 −1 LookupService.cs
View
@@ -1,3 +1,4 @@
+ - Fix garbage at the end of the database_type string ( Boris Zentner )
1.17 Apr 10th, 2012
- Update FIPS codes ( Boris Zentner )
1.16 Mar 26th, 2012
View
@@ -340,9 +340,10 @@ public class LookupService{
hasStructureInfo = true;
break;
}
+ file.Seek(-4,SeekOrigin.Current);
}
if (hasStructureInfo) {
- file.Seek(-3,SeekOrigin.Current);
+ file.Seek(-6,SeekOrigin.Current);
}
else {
// No structure info, must be pre Sep 2002 database, go back to end.

0 comments on commit 5f6c78d

Please sign in to comment.