diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-30 20:30:08 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-03-30 20:30:08 +0000 |
commit | aec44489da7da17b5babd9343850257558741fa2 (patch) | |
tree | 25f5b508ab1f7c0922e909f3b1ca7440fc529f30 /src/common/windows/http_upload.cc | |
parent | Fix issue 136. (diff) | |
download | breakpad-aec44489da7da17b5babd9343850257558741fa2.tar.xz |
vswprintf causes Purify to fail (#145). r=darin
http://groups.google.com/group/google-breakpad-dev/browse_thread/thread/88e18d9fac4eee22
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@135 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/windows/http_upload.cc')
-rw-r--r-- | src/common/windows/http_upload.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/windows/http_upload.cc b/src/common/windows/http_upload.cc index 5fe3b6dc..86ecf37a 100644 --- a/src/common/windows/http_upload.cc +++ b/src/common/windows/http_upload.cc @@ -213,8 +213,8 @@ wstring HTTPUpload::GenerateMultipartBoundary() { int r1 = rand(); wchar_t temp[kBoundaryLength]; - WindowsStringUtils::safe_swprintf(temp, kBoundaryLength, L"%s%08X%08X", - kBoundaryPrefix, r0, r1); + swprintf(temp, kBoundaryLength, L"%s%08X%08X", kBoundaryPrefix, r0, r1); + GB_WSU_SAFE_SWPRINTF_TERMINATE(temp, kBoundaryLength); return wstring(temp); } |