Bugzilla – Attachment 516 Details for
Bug 777
sftp can't be used with s/key names on OpenBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Moves colon parsing after user name and host have been determined.
sftp-skey-colon.patch (text/plain), 639 bytes, created by
Andrew Mortensen
on 2003-12-19 21:57:18 AEDT
(
hide
)
Description:
Moves colon parsing after user name and host have been determined.
Filename:
MIME Type:
Creator:
Andrew Mortensen
Created:
2003-12-19 21:57:18 AEDT
Size:
639 bytes
patch
obsolete
>--- sftp.c.old Thu Aug 21 19:34:41 2003 >+++ sftp.c Fri Dec 19 23:53:38 2003 >@@ -206,10 +206,6 @@ > userhost = xstrdup(argv[optind]); > file2 = argv[optind+1]; > >- if ((cp = colon(userhost)) != NULL) { >- *cp++ = '\0'; >- file1 = cp; >- } > > if ((host = strrchr(userhost, '@')) == NULL) > host = userhost; >@@ -233,6 +229,11 @@ > /* no subsystem if the server-spec contains a '/' */ > if (sftp_server == NULL || strchr(sftp_server, '/') == NULL) > addargs(&args, "-s"); >+ >+ if ((cp = colon(host)) != NULL) { >+ *cp++ = '\0'; >+ file1 = cp; >+ } > > addargs(&args, "%s", host); > addargs(&args, "%s", (sftp_server != NULL ?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 777
: 516