docs: fix typo in lws_vhost_destroy docs

This commit is contained in:
Andy Green 2017-09-11 10:25:36 +08:00
parent a3cc4a368e
commit b4673d871b
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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;
}
}