]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: Fix a typo in doveadm-print-flow function name
authorMartti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
Wed, 5 Jul 2017 11:38:19 +0000 (14:38 +0300)
committerGitLab <gitlab@git.dovecot.net>
Wed, 5 Jul 2017 15:19:45 +0000 (18:19 +0300)
doveadm_print_flow_print_heder() -> doveadm_print_flow_print_header()

src/doveadm/doveadm-print-flow.c

index a72e6bcdaaf2045743c75e6cadb7424cebe3676b..5f794ac92c3a1b1a5ec59d7be35f9fdf356836ef 100644 (file)
@@ -40,7 +40,7 @@ static void flow_next_hdr(void)
        }
 }
 
-static void doveadm_print_flow_print_heder(const struct doveadm_print_flow_header *hdr)
+static void doveadm_print_flow_print_header(const struct doveadm_print_flow_header *hdr)
 {
        if ((hdr->flags & DOVEADM_PRINT_HEADER_FLAG_HIDE_TITLE) == 0) {
                o_stream_nsend_str(doveadm_print_ostream, hdr->title);
@@ -53,7 +53,7 @@ static void doveadm_print_flow_print(const char *value)
        const struct doveadm_print_flow_header *hdr =
                array_idx(&ctx->headers, ctx->header_idx);
 
-       doveadm_print_flow_print_heder(hdr);
+       doveadm_print_flow_print_header(hdr);
        o_stream_nsend_str(doveadm_print_ostream, value);
        flow_next_hdr();
 }
@@ -66,7 +66,7 @@ doveadm_print_flow_print_stream(const unsigned char *value, size_t size)
 
        if (!ctx->streaming) {
                ctx->streaming = TRUE;
-               doveadm_print_flow_print_heder(hdr);
+               doveadm_print_flow_print_header(hdr);
        }
        o_stream_nsend(doveadm_print_ostream, value, size);
        if (size == 0) {