summaryrefslogtreecommitdiffhomepage
path: root/cli-agentfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-11-14 22:03:30 +0800
commitde1deaf0bde9c0e67932420117caeb390f8ead98 (patch)
treeccf5802f9b75b67d28ce22a42cc947dd018b1dcf /cli-agentfwd.c
parente00a97944a412213d5335c3664f45bab0fcdb546 (diff)
use oldstyle comments
Diffstat (limited to 'cli-agentfwd.c')
-rw-r--r--cli-agentfwd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli-agentfwd.c b/cli-agentfwd.c
index ba07f54..b0c589b 100644
--- a/cli-agentfwd.c
+++ b/cli-agentfwd.c
@@ -73,8 +73,8 @@ static int connect_agent() {
return fd;
}
-// handle a request for a connection to the locally running ssh-agent
-// or forward.
+/* handle a request for a connection to the locally running ssh-agent
+ or forward. */
static int new_agent_chan(struct Channel * channel) {
int fd = -1;
@@ -94,7 +94,6 @@ static int new_agent_chan(struct Channel * channel) {
channel->readfd = fd;
channel->writefd = fd;
- // success
return 0;
}