| Index: net/socket/ssl_test_util.cc
|
| diff --git a/net/socket/ssl_test_util.cc b/net/socket/ssl_test_util.cc
|
| index 7e73f1e800189188b3b33d40b1fc3c8161397139..763031f414003635bd8ceb8522f8e93c67b0f5e1 100644
|
| --- a/net/socket/ssl_test_util.cc
|
| +++ b/net/socket/ssl_test_util.cc
|
| @@ -177,7 +177,7 @@ void AppendToPythonPath(const FilePath& dir) {
|
| const wchar_t kPythonPath[] = L"PYTHONPATH";
|
| // FIXME(dkegel): handle longer PYTHONPATH variables
|
| wchar_t oldpath[4096];
|
| - if (GetEnvironmentVariable(kPythonPath, oldpath, sizeof(oldpath)) == 0) {
|
| + if (GetEnvironmentVariable(kPythonPath, oldpath, arraysize(oldpath)) == 0) {
|
| SetEnvironmentVariableW(kPythonPath, dir.value().c_str());
|
| } else if (!wcsstr(oldpath, dir.value().c_str())) {
|
| std::wstring newpath(oldpath);
|
|
|