Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Fix a regression in database_info
Browse files Browse the repository at this point in the history
This was introduced in the recent read() -> pread() changes. Thanks for fixing
this, Greg!
  • Loading branch information
rafl committed Jan 11, 2016
1 parent c45ece3 commit 9c5603b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libGeoIP/GeoIP.c
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,6 @@ char *GeoIP_database_info(GeoIP * gi)
if (pread(fno, buf, 3, offset) != 3) {
return NULL;
}
offset += 3;
if (buf[0] == 255 && buf[1] == 255 && buf[2] == 255) {
hasStructureInfo = 1;
break;
Expand Down

0 comments on commit 9c5603b

Please sign in to comment.