Browse Source

Fix C++ style comment in altcp_tls_mbedtls.c

STABLE-2_1_x
Dirk Ziegelmeier 9 years ago
parent
commit
6559ffd848
  1. 2
      src/apps/altcp_tls/altcp_tls_mbedtls.c

2
src/apps/altcp_tls/altcp_tls_mbedtls.c

@ -924,7 +924,7 @@ altcp_mbedtls_bio_send(void* ctx, const unsigned char* dataptr, size_t size)
if (written) {
return written;
}
return 0;//MBEDTLS_ERR_SSL_WANT_WRITE;
return 0; /* MBEDTLS_ERR_SSL_WANT_WRITE; */
} else {
LWIP_ASSERT("tls_write, tcp_write: err != ERR MEM", 0);
/* @todo: return MBEDTLS_ERR_NET_CONN_RESET or MBEDTLS_ERR_NET_SEND_FAILED */

Loading…
Cancel
Save