Ticket #11031: patch-pfs-sftp.c

File patch-pfs-sftp.c, 377 bytes (added by josh-macports@…, 18 years ago)

files/patch-pfs-sftp.c

Line 
1--- src/baz/libarch/pfs-sftp.c.orig     2005-06-21 07:59:37.000000000 +1000
2+++ src/baz/libarch/pfs-sftp.2006-11-16 03:16:14.000000000 +1100
3@@ -1496,7 +1496,7 @@
4    */
5   arch_uri_heuristics (&parsed_uri);
6 
7-  *user = str_save (0, parsed_uri.authinfo);
8+  *user = str_save (0, parsed_uri.userinfo);
9   *hostname = str_save (0, parsed_uri.host);
10   if (parsed_uri.port)
11     {