فهرست منبع

Merge branch 'bugfix/esp_tls_conn_write_doc' into 'master'

Fixed `esp_tls_conn_write` documentation.

See merge request espressif/esp-idf!7999
Mahavir Jain 5 سال پیش
والد
کامیت
4f8a88b145
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      components/esp-tls/esp_tls.h

+ 1 - 3
components/esp-tls/esp_tls.h

@@ -433,10 +433,8 @@ int esp_tls_conn_http_new_async(const char *url, const esp_tls_cfg_t *cfg, esp_t
  * @param[in]  datalen  Length of data buffer.
  *
  * @return
- *             - >0  if write operation was successful, the return value is the number
+ *             - >=0  if write operation was successful, the return value is the number
  *                   of bytes actually written to the TLS/SSL connection.
- *             -  0  if write operation was not successful. The underlying
- *                   connection was closed.
  *             - <0  if write operation was not successful, because either an
  *                   error occured or an action must be taken by the calling process.
  */