aboutsummaryrefslogtreecommitdiff
path: root/src/common/windows/http_upload.h
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-12-15 16:19:32 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-12-15 16:19:32 +0000
commit7405ecd04629d759e6525c134ea375aa3aad83c0 (patch)
treec68b1c75b878230e7df3009d9aa4d37d2b0ea362 /src/common/windows/http_upload.h
parentAdd some unit tests for the mac MinidumpGenerator (diff)
downloadbreakpad-7405ecd04629d759e6525c134ea375aa3aad83c0.tar.xz
allow uploading zero-byte files in HTTPUpload
R=mark at http://breakpad.appspot.com/243001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@743 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/windows/http_upload.h')
-rw-r--r--src/common/windows/http_upload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/windows/http_upload.h b/src/common/windows/http_upload.h
index f7c69f16..8a17aab1 100644
--- a/src/common/windows/http_upload.h
+++ b/src/common/windows/http_upload.h
@@ -98,7 +98,7 @@ class HTTPUpload {
string *request_body);
// Fills the supplied vector with the contents of filename.
- static void GetFileContents(const wstring &filename, vector<char> *contents);
+ static bool GetFileContents(const wstring &filename, vector<char> *contents);
// Converts a UTF8 string to UTF16.
static wstring UTF8ToWide(const string &utf8);