*** empty log message ***
This commit is contained in:
parent
f0aa42be04
commit
4e9a82ff05
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
/* session control */
|
/* session control */
|
||||||
|
|
||||||
char const *cvs_id = "$Id: sessionctl.c,v 1.1 2005-05-10 06:44:11 bodea Exp $";
|
char const *cvs_id = "$Id: sessionctl.c,v 1.2 2005-05-10 06:48:16 bodea Exp $";
|
||||||
|
|
||||||
int plugin_api_version = PLUGIN_API_VERSION;
|
int plugin_api_version = PLUGIN_API_VERSION;
|
||||||
static struct pluginfuncs *p = 0;
|
static struct pluginfuncs *p = 0;
|
||||||
|
|
@ -64,7 +64,7 @@ int plugin_control(struct param_control *data)
|
||||||
if (data->argc > 2)
|
if (data->argc > 2)
|
||||||
reason = data->argv[2];
|
reason = data->argv[2];
|
||||||
else
|
else
|
||||||
reaons = "Requested by administrator.";
|
reason = "Requested by administrator.";
|
||||||
|
|
||||||
if (data->argv[0][0] == 'd')
|
if (data->argv[0][0] == 'd')
|
||||||
p->sessionshutdown(session, reason, 3, 0);
|
p->sessionshutdown(session, reason, 3, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue