Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SalesforceCaseGenerator by
Revision 11:57f6f0f286c0, committed 2014-09-21
- Comitter:
- ansond
- Date:
- Sun Sep 21 07:28:37 2014 +0000
- Parent:
- 10:ebdae744ee07
- Child:
- 12:8603f9ff1336
- Commit message:
- updates for new ssl library
Changed in this revision
| SalesForceCaseGenerator.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SalesForceCaseGenerator.cpp Fri Aug 29 04:23:25 2014 +0000
+++ b/SalesForceCaseGenerator.cpp Sun Sep 21 07:28:37 2014 +0000
@@ -35,10 +35,10 @@
bool success = false;
// data buffer and result buffer
- char data[BUFFER_LENGTH+1];
- char result[BUFFER_LENGTH+1];
- memset(data,0,BUFFER_LENGTH+1);
- memset(result,0,BUFFER_LENGTH+1);
+ char data[MAX_BUFFER_LENGTH+1];
+ char result[MAX_BUFFER_LENGTH+1];
+ memset(data,0,MAX_BUFFER_LENGTH+1);
+ memset(result,0,MAX_BUFFER_LENGTH+1);
// set addl header information
char headers[] = "User-Agent: curl/7.33.0\nAccept: */*\n" ;
@@ -48,7 +48,7 @@
// covert to the HTTP data types
HTTPJson new_case(data,strlen(data)+1);
- HTTPText http_result(result,BUFFER_LENGTH);
+ HTTPText http_result(result,MAX_BUFFER_LENGTH);
//this->m_http.basicAuth("<username>", "<password>");
this->m_http->setHeader(headers) ;
