Change a PL_strdup to nsCRT::strdup

This commit is contained in:
mscott%netscape.com 1999-08-30 21:55:26 +00:00
parent c68fda9796
commit d8a1e15139
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;