mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 17:02:25 +00:00
Don't ignore return value of httpd_stop
This commit is contained in:
@@ -160,8 +160,9 @@ esp_err_t httpd_ssl_start(httpd_handle_t *handle, httpd_ssl_config_t *config);
|
||||
* Stop the server. Blocks until the server is shut down.
|
||||
*
|
||||
* @param[in] handle
|
||||
* @return success
|
||||
*/
|
||||
void httpd_ssl_stop(httpd_handle_t handle);
|
||||
esp_err_t httpd_ssl_stop(httpd_handle_t handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@@ -306,7 +306,7 @@ esp_err_t httpd_ssl_start(httpd_handle_t *pHandle, struct httpd_ssl_config *conf
|
||||
}
|
||||
|
||||
/** Stop the server */
|
||||
void httpd_ssl_stop(httpd_handle_t handle)
|
||||
esp_err_t httpd_ssl_stop(httpd_handle_t handle)
|
||||
{
|
||||
httpd_stop(handle);
|
||||
return httpd_stop(handle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user