From 7405ecd04629d759e6525c134ea375aa3aad83c0 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Wed, 15 Dec 2010 16:19:32 +0000 Subject: 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 --- src/common/windows/http_upload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/windows/http_upload.h') 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 *contents); + static bool GetFileContents(const wstring &filename, vector *contents); // Converts a UTF8 string to UTF16. static wstring UTF8ToWide(const string &utf8); -- cgit v1.2.1