From a6218eb66d7b4880825168a83e66bfea746908a6 Mon Sep 17 00:00:00 2001 From: Nelson Billing Date: Fri, 31 Jul 2020 14:31:52 -0700 Subject: [PATCH] Fix v1 symupload protocol in Mac client. - A printf's arguments got broken in refactor for v2 protocol (my fault). Change-Id: I8018e25f55b18fd47038d28a4ff0ac3be3d2caae Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2333387 Reviewed-by: Mark Mentovai --- src/common/mac/HTTPMultipartUpload.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mac/HTTPMultipartUpload.m b/src/common/mac/HTTPMultipartUpload.m index 48af299d..2aa64f79 100644 --- a/src/common/mac/HTTPMultipartUpload.m +++ b/src/common/mac/HTTPMultipartUpload.m @@ -59,7 +59,7 @@ NSString* escaped = PercentEncodeNSString(key); NSString* fmt = @"Content-Disposition: form-data; name=\"%@\"\r\n\r\n%@\r\n"; - NSString* form = [NSString stringWithFormat:fmt, boundary_, escaped, value]; + NSString *form = [NSString stringWithFormat:fmt, escaped, value]; [data appendData:[form dataUsingEncoding:NSUTF8StringEncoding]]; return data;