port = tmp;
break;
default:
/* Try with user, host and path. */
if (parse_user_host_path(*argv, &user, &host,
&file1) == -1) {
&file1) == 0)
/* Treat as a plain hostname. */
host = xstrdup(*argv);
/* Try without path. */
host = cleanhostname(host);
if (parse_user_host_port(*argv, &user, &host, NULL)
}
== 0)
file2 = *(argv + 1);