1 | --- src/baz/libarch/pfs.c.orig 2005-06-21 07:59:37.000000000 +1000 |
---|
2 | +++ src/baz/libarch/pfs.c 2006-11-16 02:44:41.000000000 +1100 |
---|
3 | @@ -513,10 +513,10 @@ |
---|
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)); |
---|
15 | parsed_uri->host = str_replace (parsed_uri->host, str_save (0, at_pos + 1)); |
---|
16 | } |
---|
17 | |
---|