This commit is contained in:
gagan%netscape.com 2000-10-31 00:16:16 +00:00
Родитель e2193efb9c
Коммит 5282f49d2c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2758,10 +2758,10 @@ nsHTTPChannel::SetReferrer(nsIURI *referrer, PRUint32 referrerLevel)
PRUint32 prehostLocation = ref.Find(prehost.get(), PR_TRUE); PRUint32 prehostLocation = ref.Find(prehost.get(), PR_TRUE);
PRInt32 remainingStart = prehostLocation + PRInt32 remainingStart = prehostLocation +
PL_strlen(prehost.get()) + 1; // 1 for @ PL_strlen(prehost.get()) + 1; // 1 for @
ref = Substring(NS_READABLE_CAST(char*, ref), ref = Substring(NS_READABLE_CAST(char, ref),
(PRUint32) 0, (PRUint32) 0,
(PRUint32) prehostLocation) + (PRUint32) prehostLocation) +
Substring(NS_READABLE_CAST(char*, ref), Substring(NS_READABLE_CAST(char, ref),
(PRUint32) remainingStart, (PRUint32) remainingStart,
(PRUint32) ref.Length()-remainingStart); (PRUint32) ref.Length()-remainingStart);
} }