Skip to content

Commit

Permalink
Fix locationRecordSize in async loads
Browse files Browse the repository at this point in the history
Fixes a bug where async loads are not working due to incorrect record sizes.
  • Loading branch information
steve-gh committed Apr 18, 2015
1 parent e374e9b commit 78711ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geoip.js
Expand Up @@ -210,7 +210,7 @@ function preload(callback) {
lastIP: null,
lastLine: 0,
locationBuffer: null,
locationRecordSize: 32,
locationRecordSize: 64,
mainBuffer: null,
recordSize: 12
};
Expand Down

0 comments on commit 78711ea

Please sign in to comment.