From f452fe1ca0c493429628a3fca7c111c52655c7fe Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 8 Sep 2024 07:23:36 +0000 Subject: [PATCH] rpki-client: fix typos in comments and one in a warning message --- usr.sbin/rpki-client/http.c | 8 ++++---- usr.sbin/rpki-client/mft.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.sbin/rpki-client/http.c b/usr.sbin/rpki-client/http.c index cf6772e1f6f..bc4af4ba263 100644 --- a/usr.sbin/rpki-client/http.c +++ b/usr.sbin/rpki-client/http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: http.c,v 1.86 2024/08/20 13:31:49 claudio Exp $ */ +/* $OpenBSD: http.c,v 1.87 2024/09/08 07:23:36 tb Exp $ */ /* * Copyright (c) 2020 Nils Fisher * Copyright (c) 2020 Claudio Jeker @@ -709,7 +709,7 @@ http_inflate_new(struct http_connection *conn) return 0; fail: - warnx("%s: decompression initalisation failed", conn_info(conn)); + warnx("%s: decompression initialisation failed", conn_info(conn)); if (zctx != NULL) free(zctx->zbuf); free(zctx); @@ -823,7 +823,7 @@ http_inflate_advance(struct http_connection *conn) /* * Create a new HTTP connection which will be used for the HTTP request req. - * On errors a req faulure is issued and both connection and request are freed. + * On errors a req failure is issued and both connection and request are freed. */ static void http_new(struct http_request *req) @@ -1070,7 +1070,7 @@ http_connect(struct http_connection *conn) } /* - * Called once an asynchronus connect request finished. + * Called once an asynchronous connect request finished. */ static enum res http_finish_connect(struct http_connection *conn) diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index 8fa8f6ad51f..238b6865916 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mft.c,v 1.117 2024/06/11 10:38:40 tb Exp $ */ +/* $OpenBSD: mft.c,v 1.118 2024/09/08 07:23:36 tb Exp $ */ /* * Copyright (c) 2022 Theo Buehler * Copyright (c) 2019 Kristaps Dzonsons @@ -90,7 +90,7 @@ IMPLEMENT_ASN1_FUNCTIONS(Manifest); /* * Determine rtype corresponding to file extension. Returns RTYPE_INVALID - * on error or unkown extension. + * on error or unknown extension. */ enum rtype rtype_from_file_extension(const char *fn) -- 2.20.1