summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-11-02 12:01:39 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-11-02 12:01:39 +0000
commited79abed76fd91231929100ca3421913827ba83f (patch)
treeb558364892a9c28c7191a6889c2f0d8998a99694
parentc2bd79131ad036910c1d3d0a3a5a9527e12831c0 (diff)
Don't use // style comments
--HG-- extra : convert_revision : c92c7b4fef739b505d9842b45a393e1089097e3b
-rw-r--r--common-channel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common-channel.c b/common-channel.c
index 2105184..93a76d1 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -276,10 +276,10 @@ static void check_close(struct Channel *channel) {
channel->flushing = 1;
}
- // if a type-specific check_close is defined we will only exit
- // once that has been triggered. this is only used for a server "session"
- // channel, to ensure that the shell has exited (and the exit status
- // retrieved) before we close things up.
+ /* if a type-specific check_close is defined we will only exit
+ once that has been triggered. this is only used for a server "session"
+ channel, to ensure that the shell has exited (and the exit status
+ retrieved) before we close things up. */
if (!channel->type->check_close
|| channel->type->check_close(channel)) {
close_allowed = 1;