Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Allow parsing of license keys up to 99 characters long
Browse files Browse the repository at this point in the history
  • Loading branch information
Narsimham Chelluri committed Sep 7, 2018
1 parent bc4da86 commit 824ef03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/geoipupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ static int parse_license_file(geoipupdate_s *up) {
say_if(up->verbose, "AccountID %d\n", up->license.account_id);
continue;
}
if (sscanf(strt, "LicenseKey %12s", &up->license.license_key[0]) == 1) {
if (sscanf(strt, "LicenseKey %99s", &up->license.license_key[0]) == 1) {
say_if(
up->verbose, "LicenseKey %.4s...\n", up->license.license_key);
continue;
Expand Down

0 comments on commit 824ef03

Please sign in to comment.