Fix SEGFAULT
This commit is contained in:
parent
2957bcf7b0
commit
69a383f460
1 changed files with 1 additions and 1 deletions
2
garden.c
2
garden.c
|
|
@ -68,7 +68,7 @@ int plugin_control(struct param_control *data)
|
|||
sprintf((data->response + data->response_length), "%s", errormsg);
|
||||
data->response_length += strlen(errormsg) + 1;
|
||||
|
||||
p.log(3, 0, 0, 0, "Unknown session %s\n", session);
|
||||
p.log(3, 0, 0, 0, "Unknown session %d\n", session);
|
||||
return PLUGIN_RET_STOP;
|
||||
}
|
||||
*(short *)(data->response + 2) = ntohs(PKT_RESP_OK);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue