aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mime-maker.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-06-28 15:50:23 +0000
committerWerner Koch <[email protected]>2024-06-28 15:59:55 +0000
commit675b12ddd8ca742314d96a02bc95b837841070fb (patch)
tree9ff52a10c5740f568ae9ffa8cc7f6bc637c7533e /tools/mime-maker.c
parentagent: Require use of "SCD DEVINFO --watch" command with socket. (diff)
downloadgnupg-675b12ddd8ca742314d96a02bc95b837841070fb.tar.gz
gnupg-675b12ddd8ca742314d96a02bc95b837841070fb.zip
tools: New support functions for the mail parser.
* tools/rfc822parse.h (RFC822PARSE_HEADER_SEEN): New. * tools/rfc822parse.c (rfc822_cmp_header_name): New. (insert_header): Run header seen callback. (rfc822parse_last_header_line): New. (rfc822_free): New. * tools/wks-receive.c (t2body): Use it here. * tools/mime-parser.c (parse_message_cb): and here.
Diffstat (limited to 'tools/mime-maker.c')
-rw-r--r--tools/mime-maker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mime-maker.c b/tools/mime-maker.c
index 91eab8258..12dae910e 100644
--- a/tools/mime-maker.c
+++ b/tools/mime-maker.c
@@ -216,8 +216,8 @@ find_part (part_t root, unsigned int partid)
}
-/* Create a boundary string. Outr codes is aware of the general
- * structure of that string (gebins with "=-=") so that
+/* Create a boundary string. Our codes is aware of the general
+ * structure of that string (begins with "=-=") so that
* it can protect against accidentally-used boundaries within the
* content. */
static char *