Skip to content

Commit

Permalink
action.resumeintervalmax: the parameter was not respected
Browse files Browse the repository at this point in the history
Unfortunately, defining action.resumeintervalmax in the configration
did not have any effect at all. Instead, the default value was used,
which is 1800. This was caused by not having all the letters in
lower-case. Fixes #5132
  • Loading branch information
Cropi committed Jun 29, 2023
1 parent fa9ac84 commit 80e8a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.c
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,7 @@ actionApplyCnfParam(action_t * const pAction, struct cnfparamvals * const pvals)
pAction->bCopyMsg = (int) pvals[i].val.d.n;
} else if(!strcmp(pblk.descr[i].name, "action.resumeinterval")) {
pAction->iResumeInterval = pvals[i].val.d.n;
} else if(!strcmp(pblk.descr[i].name, "action.resumeintervalMax")) {
} else if(!strcmp(pblk.descr[i].name, "action.resumeintervalmax")) {
pAction->iResumeIntervalMax = pvals[i].val.d.n;
} else {
dbgprintf("action: program error, non-handled "
Expand Down

0 comments on commit 80e8a39

Please sign in to comment.