mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
fix AIX & OS/2 bustage (second attempt)
This commit is contained in:
parent
65f0831c19
commit
2227a79d30
@ -411,7 +411,8 @@ nsResProtocolHandler::ResolveURI(nsIURI *uri, char **result)
|
||||
substitutions->GetElementAt(0, getter_AddRefs(substURI));
|
||||
if (!substURI) return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
rv = substURI->Resolve(path[0] == '/' ? path+1 : path.get(), result);
|
||||
const char *p = path.get(); // be nice to the AIX and OS/2 compiler
|
||||
rv = substURI->Resolve(p[0] == '/' ? p+1 : p, result);
|
||||
#if 0
|
||||
nsXPIDLCString spec;
|
||||
uri->GetSpec(getter_Copies(spec));
|
||||
|
Loading…
Reference in New Issue
Block a user