]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
fix miscellaneous typos and wrong source formatting
authorDavid Vašek <david.vasek@nic.cz>
Fri, 19 May 2023 09:10:45 +0000 (11:10 +0200)
committerDavid Vašek <david.vasek@nic.cz>
Mon, 12 Jun 2023 08:04:53 +0000 (10:04 +0200)
src/knot/conf/tools.c
src/knot/ctl/commands.c
src/libknot/quic/quic.h

index fa7b33d531c9e8d8690a4a57439fac1017a4a144..9f8064c1d7541d75353fa0335ca7e264e6ac0ce9 100644 (file)
@@ -467,7 +467,7 @@ int check_file(
        if (ret != 0) {
                args->err_str = "invalid file";
                return KNOT_EINVAL;
-       } else if(!S_ISREG(st.st_mode)) {
+       } else if (!S_ISREG(st.st_mode)) {
                args->err_str = "not a file";
                return KNOT_EINVAL;
        } else {
index 61857cb52cef20cad2b7a05186f7dc8390ed9811..319281be397e330c0cd335f2fecc8cd1876bf42f 100644 (file)
@@ -81,7 +81,6 @@ static struct {
  *
  * \return false if there is a filter conflict, true otherwise.
  */
-
 static bool eval_opposite_filters(ctl_args_t *args, bool *param, bool dflt,
                                   int filter, int neg_filter)
 {
index 9dc400e891a1c418da9266c2f42cc2ec92c2dbf6..aa12f05b1e78a67255c04593d3c160bdd30e0db5 100644 (file)
@@ -108,7 +108,7 @@ struct knot_quic_creds *knot_quic_init_creds_peer(const struct knot_quic_creds *
 int knot_quic_creds_cert(struct knot_quic_creds *creds, struct gnutls_x509_crt_int **cert);
 
 /*!
- * \brief Init server TLS certificate for DoQ.
+ * \brief Deinit server TLS certificate for DoQ.
  */
 void knot_quic_free_creds(struct knot_quic_creds *creds);