aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-08-18 12:24:55 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-08-18 12:24:55 +0000
commit39edd96373aaca98df3f02c51aaa364f6242d266 (patch)
treecef1fee21727322639c220629b370951a66a1432
parentWhen done with crash-dumping, we need to terminate the application. Calling (diff)
downloadbreakpad-39edd96373aaca98df3f02c51aaa364f6242d266.tar.xz
fix symupload / minidump_upload to match changes to HTTPUpload::SendRequest from r640
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@657 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/tools/linux/symupload/minidump_upload.cc8
-rw-r--r--src/tools/linux/symupload/sym_upload.cc1
2 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/linux/symupload/minidump_upload.cc b/src/tools/linux/symupload/minidump_upload.cc
index cab6ad43..6f1748ad 100644
--- a/src/tools/linux/symupload/minidump_upload.cc
+++ b/src/tools/linux/symupload/minidump_upload.cc
@@ -27,12 +27,15 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// minidump_upload.m: Upload a minidump to a HTTP server. The upload is sent as
-// a multipart/form-data POST request with the following parameters:
+// minidump_upload.cc: Upload a minidump to a HTTP server.
+// The upload is sent as a multipart/form-data POST request with
+// the following parameters:
// prod: the product name
// ver: the product version
// symbol_file: the breakpad format symbol file
+#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <string>
@@ -66,6 +69,7 @@ static void Start(Options *options) {
"upload_file_minidump",
options->proxy,
options->proxy_user_pwd,
+ "",
&response,
&error);
diff --git a/src/tools/linux/symupload/sym_upload.cc b/src/tools/linux/symupload/sym_upload.cc
index 715218d6..a4d5be79 100644
--- a/src/tools/linux/symupload/sym_upload.cc
+++ b/src/tools/linux/symupload/sym_upload.cc
@@ -145,6 +145,7 @@ static void Start(Options *options) {
"symbol_file",
options->proxy,
options->proxy_user_pwd,
+ "",
&response,
&error);