make replies behave correctly, re: RFC 1036, Section 2.2.3, paragraph 1
authorPaul Mangan <paul@claws-mail.org>
Thu, 13 Feb 2003 14:39:27 +0000 (14:39 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 13 Feb 2003 14:39:27 +0000 (14:39 +0000)
ChangeLog.claws
configure.ac
src/compose.c

index 294aea8..97613e9 100644 (file)
@@ -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]
index d457302..8aa42a9 100644 (file)
@@ -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
index 666f678..1e926f8 100644 (file)
@@ -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);
                }