Fix typo in crash report sender — it works now.

This commit is contained in:
Brent Simmons 2019-01-11 22:11:46 -08:00
parent d6501af4fe
commit 4e7f3e15a4
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ struct CrashReporter {
let boundary = "0xKhTmLbOuNdArY" let boundary = "0xKhTmLbOuNdArY"
let contentType = "multipart/form-data; boundary=%@\(boundary)" let contentType = "multipart/form-data; boundary=\(boundary)"
request.setValue(contentType, forHTTPHeaderField:HTTPRequestHeader.contentType) request.setValue(contentType, forHTTPHeaderField:HTTPRequestHeader.contentType)
let formString = "--\(boundary)\r\nContent-Disposition: form-data; name=\"crashlog\"\r\n\r\n\(crashLogText)\r\n--\(boundary)--\r\n" let formString = "--\(boundary)\r\nContent-Disposition: form-data; name=\"crashlog\"\r\n\r\n\(crashLogText)\r\n--\(boundary)--\r\n"