mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
docs: fix typo in lws_vhost_destroy docs
This commit is contained in:
parent
a3cc4a368e
commit
b4673d871b
2 changed files with 3 additions and 3 deletions
|
@ -2438,7 +2438,7 @@ lws_create_vhost(struct lws_context *context,
|
|||
struct lws_context_creation_info *info);
|
||||
|
||||
/**
|
||||
* lws_destroy_vhost() - Destroy a vhost (virtual server context)
|
||||
* lws_vhost_destroy() - Destroy a vhost (virtual server context)
|
||||
* \param vhost: pointer to result of lws_create_vhost()
|
||||
*
|
||||
* This function destroys a vhost. Normally, if you just want to exit,
|
||||
|
|
|
@ -125,9 +125,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
|
|||
n = esp_get_free_heap_size();
|
||||
if (n != context->last_free_heap) {
|
||||
if (n > context->last_free_heap)
|
||||
lwsl_info(" heap :%d (+%d)\n", n, n - context->last_free_heap);
|
||||
lwsl_notice(" heap :%d (+%d)\n", n, n - context->last_free_heap);
|
||||
else
|
||||
lwsl_info(" heap :%d (-%d)\n", n, context->last_free_heap - n);
|
||||
lwsl_notice(" heap :%d (-%d)\n", n, context->last_free_heap - n);
|
||||
context->last_free_heap = n;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue