summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.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-runopts.c
parente00a97944a412213d5335c3664f45bab0fcdb546 (diff)
use oldstyle comments
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index d20928b..9877740 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -216,7 +216,7 @@ void cli_getopts(int argc, char ** argv) {
switch (argv[i][1]) {
case 'y': /* always accept the remote hostkey */
if (cli_opts.always_accept_key) {
- // twice means no checking at all
+ /* twice means no checking at all */
cli_opts.no_hostkey_check = 1;
}
cli_opts.always_accept_key = 1;
@@ -481,7 +481,7 @@ multihop_passthrough_args() {
sign_key * key = (sign_key*)iter->item;
len += 3 + strlen(key->filename);
}
- len += 30; // space for -W <size>, terminator.
+ len += 30; /* space for -W <size>, terminator. */
ret = m_malloc(len);
total = 0;
@@ -619,7 +619,7 @@ static void parse_hostname(const char* orighostarg) {
port = strchr(cli_opts.remotehost, '%');
if (!port) {
- // legacy separator
+ /* legacy separator */
port = strchr(cli_opts.remotehost, '/');
}
if (port) {