Skip to content

Commit

Permalink
Create new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussy committed Feb 23, 2020
1 parent ee8d4e4 commit 54f364d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jsonconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ bool JsonConfig::parse() {

// Set defaults for Target Settings Object
strlcpy(single->targeturl, "", sizeof(single->targeturl));
single->targetfreq = TARGETFREQ;
single->targetfreq = URLTARGETFREQ;

// Set defaults for Brewer's Friend Settings Object
strlcpy(single->bfkey, "", sizeof(single->bfkey));
Expand Down Expand Up @@ -122,7 +122,7 @@ bool JsonConfig::parse() {

// Parse Target Settings Object
strlcpy(single->targeturl, doc["targetconfig"]["targeturl"] | "", sizeof(single->targeturl));
single->targetfreq = doc["targetconfig"]["freq"] | TARGETFREQ;
single->targetfreq = doc["targetconfig"]["freq"] | URLTARGETFREQ;

// Parse Brewer's Friend Settings Object
strlcpy(single->bfkey, doc["bfconfig"]["bfkey"] | "", sizeof(single->bfkey));
Expand Down

0 comments on commit 54f364d

Please sign in to comment.