Got modem to work with MedSentry website. Includes minor change to a library file.
Fork of HTTPClient-SSL by
Diff: HTTPClient.cpp
- Revision:
- 37:293e8eae4230
- Parent:
- 34:13920d48893d
- Child:
- 38:a4ccad70be9d
diff -r 3b7330eec1a7 -r 293e8eae4230 HTTPClient.cpp --- a/HTTPClient.cpp Tue Jan 06 16:34:01 2015 +0000 +++ b/HTTPClient.cpp Tue Jan 06 16:46:44 2015 +0000 @@ -833,7 +833,7 @@ sprintf(base64buff, "%s:%s", m_basicAuthUser, m_basicAuthPassword) ; DBG("bAuth: %s", base64buff) ; base64enc(b_auth, base64buff) ; - printf("size of b_auth %d, strlen of b_auth %d\r\n", sizeof(b_auth), strlen(b_auth)); + int b_auth_len = strlen(b_auth); if(b_auth_len + 3 >= sizeof(b_auth)) { //\r\n\0 characters make up the +3 ERR("The encoded line is larger than the buffer that holds it");