* src/compose.c
authorChristoph Hohmann <reboot@gmx.ch>
Mon, 7 Oct 2002 21:08:25 +0000 (21:08 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Mon, 7 Oct 2002 21:08:25 +0000 (21:08 +0000)
        fix news posting problem

ChangeLog.claws
configure.in
src/compose.c

index 3e28f3e..33c848a 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-07 [christoph] 0.8.3claws51
+
+       * src/compose.c
+               fix news posting problem
+
 2002-10-07 [melvin]    0.8.3claws50
 
        * po/fr.po
index b1f94c5..41a11da 100644 (file)
@@ -10,7 +10,7 @@ MINOR_VERSION=8
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws50
+EXTRA_VERSION=claws51
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 25fbf42..1fec933 100644 (file)
@@ -3627,16 +3627,15 @@ static gint compose_queue_sub(Compose *compose, gint *msgnum, FolderItem **item,
                     cur = cur->next)
                        fprintf(fp, ",<%s>", (gchar *)cur->data);
                fprintf(fp, "\n");
-       } else
-       fprintf(fp, "\n");
+       }
        /* write newsgroup list */
-       fprintf(fp, "NG:");
        if (compose->newsgroup_list) {
+               fprintf(fp, "NG:");
                fprintf(fp, "%s", (gchar *)compose->newsgroup_list->data);
                for (cur = compose->newsgroup_list->next; cur != NULL; cur = cur->next)
                        fprintf(fp, ",%s", (gchar *)cur->data);
+               fprintf(fp, "\n");
        }
-       fprintf(fp, "\n");
        /* Sylpheed account IDs */
        if (mailac) {
                fprintf(fp, "MAID:%d\n", mailac->account_id);