os_trace: use const early and often
This commit is contained in:
parent
8ccecba62a
commit
62d8b8c1e9
|
@ -677,7 +677,7 @@ static trace_action_t *trace_akill_prepare(sourceinfo_t *si, char **args)
|
||||||
|
|
||||||
static void trace_akill_exec(user_t *u, trace_action_t *act)
|
static void trace_akill_exec(user_t *u, trace_action_t *act)
|
||||||
{
|
{
|
||||||
char *kuser, *khost;
|
const char *kuser, *khost;
|
||||||
trace_action_akill_t *a = (trace_action_akill_t *) act;
|
trace_action_akill_t *a = (trace_action_akill_t *) act;
|
||||||
|
|
||||||
return_if_fail(u != NULL);
|
return_if_fail(u != NULL);
|
||||||
|
|
Loading…
Reference in New Issue