Lines 1-7
Link Here
|
1 |
diff -uN -r src/baz/libarch/pfs.c src/baz/libarch/pfs.c |
1 |
--- src/baz/libarch/pfs.c.orig Mon Jun 20 23:59:37 2005 |
2 |
--- src/baz/libarch/pfs.c 2005-06-20 23:59:37.000000000 +0200 |
2 |
+++ src/baz/libarch/pfs.c Thu Apr 5 09:23:25 2007 |
3 |
+++ src/baz/libarch/pfs.c 2006-01-14 17:12:24.000000000 +0100 |
3 |
@@ -513,13 +513,73 @@ |
4 |
@@ -520,6 +520,66 @@ |
4 |
char *at_pos = str_chr_index (parsed_uri->host, '@'); |
|
|
5 |
if (!at_pos) |
6 |
return; |
7 |
- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, |
8 |
- str_alloc_cat (0, parsed_uri->authinfo, "@")); |
9 |
- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, |
10 |
- str_alloc_cat_n (0, parsed_uri->authinfo, parsed_uri->host, at_pos - parsed_uri->host)); |
11 |
+ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, |
12 |
+ str_alloc_cat (0, parsed_uri->userinfo, "@")); |
13 |
+ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, |
14 |
+ str_alloc_cat_n (0, parsed_uri->userinfo, parsed_uri->host, at_pos - parsed_uri->host)); |
5 |
parsed_uri->host = str_replace (parsed_uri->host, str_save (0, at_pos + 1)); |
15 |
parsed_uri->host = str_replace (parsed_uri->host, str_save (0, at_pos + 1)); |
6 |
} |
16 |
} |
7 |
|
17 |
|