Fixed small typos in Darin's nsIIOService checkin. b=157131, r=dougt, sr=alecf

This commit is contained in:
cmanske%netscape.com 2002-08-15 23:56:03 +00:00
parent d31ef8b834
commit 7b8132f0cc

View File

@ -689,7 +689,7 @@ function GetScheme(urlspec)
function GetHost(urlspec)
{
if (!url)
if (!urlspec)
return "";
var IOService = GetIOService();
@ -706,7 +706,7 @@ function GetHost(urlspec)
function GetUsername(urlspec)
{
if (!url)
if (!urlspec)
return "";
var IOService = GetIOService();
@ -733,7 +733,7 @@ function GetFilename(urlspec)
var filename;
try {
uri = IOService.newURI(urlspec, null, null);
var uri = IOService.newURI(urlspec, null, null);
if (uri)
{
var url = uri.QueryInterface(Components.interfaces.nsIURL);