summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-12 00:26:06 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-12 00:26:06 +0000
commit50ece89ab930781dd7a1f64275b8571b9a0d41ff (patch)
tree93ba7796cd247d82589d2da322f9d42a03b1b1ca /cmd-run-shell.c
parent197f8b88bffb5febe691f2442650574f40fe7322 (diff)
Sync OpenBSD patchset 385:
Remove a debugging leftover and add copyright.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index 4cb64b04..8ddfbb81 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -1,7 +1,8 @@
-/* $Id: cmd-run-shell.c,v 1.2 2009-10-12 00:25:25 tcunha Exp $ */
+/* $Id: cmd-run-shell.c,v 1.3 2009-10-12 00:26:06 tcunha Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
+ * Copyright (c) 2009 Nicholas Marriott <nicm@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -126,7 +127,6 @@ cmd_run_shell_free(void *data)
struct cmd_run_shell_data *cdata = data;
struct cmd_ctx *ctx = &cdata->ctx;
- return;
if (ctx->cmdclient != NULL) {
ctx->cmdclient->references--;
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);