summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2021-11-16 09:18:43 +0200
committerGitHub <noreply@github.com>2021-11-16 10:18:43 +0300
commitacca8c24f229da0ff0238921ebc4b30ddc7125ea (patch)
tree93113595d01b209c62167aa7d0ccaf05bb665218 /web
parent97a13e03612b0d4f2908be57b5114d619626f66d (diff)
Fix typos (#11782)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Diffstat (limited to 'web')
-rw-r--r--web/api/tests/valid_urls.c2
-rw-r--r--web/server/web_client_cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/api/tests/valid_urls.c b/web/api/tests/valid_urls.c
index a4bda633d4..30ae23247c 100644
--- a/web/api/tests/valid_urls.c
+++ b/web/api/tests/valid_urls.c
@@ -410,7 +410,7 @@ static void empty_url(void **state)
}
/* If the %-escape is being performed at the correct time then the url should not be treated as a query, but instead
- as a path "/api/v1/info?blah?" which should despatch into the API with the given values.
+ as a path "/api/v1/info?blah?" which should dispatch into the API with the given values.
*/
static void not_a_query(void **state)
{
diff --git a/web/server/web_client_cache.c b/web/server/web_client_cache.c
index afd51d854b..5d7865762d 100644
--- a/web/server/web_client_cache.c
+++ b/web/server/web_client_cache.c
@@ -79,7 +79,7 @@ static struct web_client *web_client_alloc(void) {
// Comments per server:
// SINGLE-THREADED : 1 cache is maintained
// MULTI-THREADED : 1 cache is maintained
-// STATIC-THREADED : 1 cache for each thred of the web server
+// STATIC-THREADED : 1 cache for each thread of the web server
__thread struct clients_cache web_clients_cache = {
.pid = 0,