mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 05:44:10 +00:00
Change a PL_strdup to nsCRT::strdup
This commit is contained in:
parent
c68fda9796
commit
d8a1e15139
@ -285,7 +285,7 @@ NS_IMETHODIMP nsMailboxService::GetScheme(char * *aScheme)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
if (aScheme)
|
||||
*aScheme = PL_strdup("mailbox");
|
||||
*aScheme = nsCRT::strdup("mailbox");
|
||||
else
|
||||
rv = NS_ERROR_NULL_POINTER;
|
||||
return rv;
|
||||
|
@ -235,7 +235,7 @@ NS_IMETHODIMP nsPop3Service::GetScheme(char * *aScheme)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
if (aScheme)
|
||||
*aScheme = PL_strdup("pop3");
|
||||
*aScheme = nsCRT::strdup("pop3");
|
||||
else
|
||||
rv = NS_ERROR_NULL_POINTER;
|
||||
return rv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user