diff cli-runopts.c @ 857:c19acba28590

use oldstyle comments
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 22:03:30 +0800
parents 7540c0822374
children 5608a5a61c2a
line wrap: on
line diff
--- a/cli-runopts.c	Thu Nov 14 21:45:50 2013 +0800
+++ b/cli-runopts.c	Thu Nov 14 22:03:30 2013 +0800
@@ -216,7 +216,7 @@
 			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 @@
 		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 @@
 
 	port = strchr(cli_opts.remotehost, '%');
 	if (!port)  {
-		// legacy separator
+		/* legacy separator */
 		port = strchr(cli_opts.remotehost, '/');
 	}
 	if (port) {