From b4673d871b2212aa45601650adb49fa341f2fa94 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 11 Sep 2017 10:25:36 +0800 Subject: [PATCH] docs: fix typo in lws_vhost_destroy docs --- lib/libwebsockets.h | 2 +- lib/lws-plat-esp32.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index bb1d8a5f..3a8d585a 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -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, diff --git a/lib/lws-plat-esp32.c b/lib/lws-plat-esp32.c index 2ba065b3..aaaf1b6a 100644 --- a/lib/lws-plat-esp32.c +++ b/lib/lws-plat-esp32.c @@ -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; } }