We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24682e0 commit b4c89a3Copy full SHA for b4c89a3
tls-client/main.cpp
@@ -220,13 +220,13 @@ class HelloHTTPS {
220
}
221
222
/* Fill the request buffer */
223
- _bpos = snprintf(_buffer, sizeof(_buffer) - 1,
+ _bpos = snprintf(_buffer, sizeof(_buffer) - 1,
224
"GET %s HTTP/1.1\nHost: %s\n\n", path, HTTPS_SERVER_NAME);
225
226
int offset = 0;
227
do {
228
- ret = mbedtls_ssl_write(&_ssl,
229
- (const unsigned char *) _buffer + offset,
+ ret = mbedtls_ssl_write(&_ssl,
+ (const unsigned char *) _buffer + offset,
230
_bpos - offset);
231
if (ret > 0)
232
offset += ret;
0 commit comments