version 1.7, 2010/05/25 20:05:25 |
version 1.8, 2010/07/11 17:06:45 |
|
|
{ |
{ |
struct cmd_run_shell_data *cdata = data; |
struct cmd_run_shell_data *cdata = data; |
struct cmd_ctx *ctx = &cdata->ctx; |
struct cmd_ctx *ctx = &cdata->ctx; |
|
struct msg_exit_data exitdata; |
|
|
if (ctx->cmdclient != NULL) { |
if (ctx->cmdclient != NULL) { |
ctx->cmdclient->references--; |
ctx->cmdclient->references--; |
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); |
exitdata.retcode = ctx->cmdclient->retcode; |
|
server_write_client( |
|
ctx->cmdclient, MSG_EXIT, &exitdata, sizeof exitdata); |
} |
} |
if (ctx->curclient != NULL) |
if (ctx->curclient != NULL) |
ctx->curclient->references--; |
ctx->curclient->references--; |