Support arbitrary suffixes for actions, same action multiple times
This commit is contained in:
1 parent
cf594ca411
commit
e5e71e46d9
1 file changed
+1
-1
@@ -273,7 +273,7 @@ static void load_action(settings_t *settings, char *action)
|
|||||||
|
|
||||||
for (i = 0; i < countof(actions); i++)
|
for (i = 0; i < countof(actions); i++)
|
||||||
{
|
{
|
||||||
if (strcaseeq(actions[i].name, action))
|
if (strncasecmp(actions[i].name, action, strlen(actions[i].name)) == 0)
|
||||||
{
|
{
|
||||||
int delay;
|
int delay;
|
||||||
char *config;
|
char *config;
|
||||||
|
|||||||
Reference in new issue
Block a user