All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mads Martin Joergensen <mmj@mmj.dk>
To: mlmmj@mlmmj.org
Subject: Re: 1.2.6 released. No more queue littering ...
Date: Mon, 09 May 2005 07:16:02 +0000	[thread overview]
Message-ID: <20050509071601.GI87309@mmj.dk> (raw)
In-Reply-To: <20050508182645.GF87309@mmj.dk>

* Mads Martin Joergensen <mmj@mmj.dk> [May 08. 2005 20:26]:
>  o If prefix but no Subject: header is present, add one (Jakob Hirsch)

There's a bug here. In case we meet a subject already we forget to clear
the flag. This patch should fix it, so that no 2 subjects are present:

--- do_all_the_voodo_here.c     8 May 2005 16:18:02 -0000       1.24
+++ do_all_the_voodo_here.c     9 May 2005 07:13:51 -0000
@@ -142,6 +142,7 @@
                /* Add Subject: prefix if wanted */
                if(prefix) {
                        if(strncasecmp(hdrline, "Subject:", 8) = 0) {
+                               subject_present = 1;
                                unqp = cleanquotedp(hdrline + 8);
                                if(strstr(hdrline + 8, prefix) = NULL &&
                                   strstr(unqp, prefix) = NULL) {


-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.

  reply	other threads:[~2005-05-09  7:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-08 18:26 1.2.6 released. No more queue littering Mads Martin Joergensen
2005-05-09  7:16 ` Mads Martin Joergensen [this message]
2005-05-09 12:47 ` Jakob Hirsch
2005-05-09 12:48 ` Mads Martin Joergensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050509071601.GI87309@mmj.dk \
    --to=mmj@mmj.dk \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.