diff --git a/netwerk/test/TestSocketTransport.cpp b/netwerk/test/TestSocketTransport.cpp index 4c8ec34ce586..261ac32245db 100644 --- a/netwerk/test/TestSocketTransport.cpp +++ b/netwerk/test/TestSocketTransport.cpp @@ -625,8 +625,8 @@ main(int argc, char* argv[]) printf("Using %s as echo server...\n", hostName); #ifdef XP_MAC - (void) PR_PutEnv("NSPR_LOG_MODULES=nsSocketTransport:5"); - (void) PR_PutEnv("NSPR_LOG_FILE=nspr.log"); + (void) PR_SetEnv("NSPR_LOG_MODULES=nsSocketTransport:5"); + (void) PR_SetEnv("NSPR_LOG_FILE=nspr.log"); PR_Init_Log(); #endif diff --git a/xpfe/appshell/src/nsCommandLineServiceMac.cpp b/xpfe/appshell/src/nsCommandLineServiceMac.cpp index 65af7245e2ef..39a381b14f0f 100644 --- a/xpfe/appshell/src/nsCommandLineServiceMac.cpp +++ b/xpfe/appshell/src/nsCommandLineServiceMac.cpp @@ -206,7 +206,7 @@ nsresult nsMacCommandLine::AddToCommandLine(const char* inOptionString, const FS nsresult nsMacCommandLine::AddToEnvironmentVars(const char* inArgText) //---------------------------------------------------------------------------------------- { - (void)PR_PutEnv(inArgText); + (void)PR_SetEnv(inArgText); return NS_OK; } diff --git a/xpfe/components/startup/src/nsCommandLineServiceMac.cpp b/xpfe/components/startup/src/nsCommandLineServiceMac.cpp index 65af7245e2ef..39a381b14f0f 100644 --- a/xpfe/components/startup/src/nsCommandLineServiceMac.cpp +++ b/xpfe/components/startup/src/nsCommandLineServiceMac.cpp @@ -206,7 +206,7 @@ nsresult nsMacCommandLine::AddToCommandLine(const char* inOptionString, const FS nsresult nsMacCommandLine::AddToEnvironmentVars(const char* inArgText) //---------------------------------------------------------------------------------------- { - (void)PR_PutEnv(inArgText); + (void)PR_SetEnv(inArgText); return NS_OK; }