Imported Upstream version 2.6.4
This commit is contained in:
parent
fad6ced6f6
commit
fefe62b2bd
257 changed files with 6020 additions and 1394 deletions
|
|
@ -111,6 +111,9 @@ static void user_add_instcmd(const char *cmd)
|
|||
}
|
||||
}
|
||||
|
||||
upsdebugx(2, "user_add_instcmd: adding '%s' for %s",
|
||||
cmd, curr_user->username);
|
||||
|
||||
tmp = xcalloc(1, sizeof(*tmp));
|
||||
|
||||
tmp->cmd = xstrdup(cmd);
|
||||
|
|
@ -155,6 +158,9 @@ static void user_add_action(const char *act)
|
|||
return;
|
||||
}
|
||||
|
||||
upsdebugx(2, "user_add_action: adding '%s' for %s",
|
||||
act, curr_user->username);
|
||||
|
||||
curr_user->firstaction = addaction(curr_user->firstaction, act);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue