diff options
Diffstat (limited to 'src/ctrl')
-rw-r--r-- | src/ctrl/control_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index df394867..b4afd555 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -131,7 +131,7 @@ int ctrl_cmd_send_trap(struct ctrl_handle *ctrl, const char *name, char *value) return -ENOMEM; cmd->id = "0"; /* It's a TRAP! */ - cmd->variable = name; + cmd->variable = (char *) name; cmd->reply = value; r = ctrl_cmd_send_to_all(ctrl, cmd); talloc_free(cmd); |