From: fred_nerk Date: Mon, 24 May 2004 04:18:23 +0000 (+0000) Subject: Fix SEGFAULT X-Git-Tag: release_2_0_1~28 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/fa7f80895bb232376730228178151812fe833fd9 Fix SEGFAULT --- diff --git a/garden.c b/garden.c index b8f6277..c3ce34a 100644 --- a/garden.c +++ b/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);