From: Paul Mangan Date: Thu, 13 Feb 2003 14:39:27 +0000 (+0000) Subject: make replies behave correctly, re: RFC 1036, Section 2.2.3, paragraph 1 X-Git-Tag: rel_0_8_11~122 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=1addfbde5712ae428dead3b5769a7130de143339;hp=73e2c09783267b36891008b8aa516a96704ae0da make replies behave correctly, re: RFC 1036, Section 2.2.3, paragraph 1 --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 294aea8aa..97613e98b 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,9 @@ +2003-02-13 [paul] 0.8.10claws8 + + * src/compose.c + make replies behave correctly, re: RFC 1036, Section 2.2.3, + paragraph 1 + 2003-02-13 [paul] 0.8.10claws7 * src/compose.[ch] diff --git a/configure.ac b/configure.ac index d45730230..8aa42a92d 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=8 MICRO_VERSION=10 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws7 +EXTRA_VERSION=claws8 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/compose.c b/src/compose.c index 666f67818..1e926f8be 100644 --- a/src/compose.c +++ b/src/compose.c @@ -1661,7 +1661,7 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo, COMPOSE_TO); } else { if (to_sender || (compose->followup_to && - strncmp(compose->followup_to, "poster\n", 7))) + !strncmp(compose->followup_to, "poster", 6))) compose_entry_append (compose, ((compose->replyto && !to_sender) @@ -1679,11 +1679,13 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo, compose_entry_append (compose, + compose->followup_to ? compose->followup_to : compose->newsgroups ? compose->newsgroups : "", COMPOSE_NEWSGROUPS); } else { compose_entry_append (compose, + compose->followup_to ? compose->followup_to : compose->newsgroups ? compose->newsgroups : "", COMPOSE_NEWSGROUPS); }