fix Bug 556 'Organisation-header is sent even if empty'
authorPaul Mangan <paul@claws-mail.org>
Mon, 26 Jul 2004 06:28:24 +0000 (06:28 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 26 Jul 2004 06:28:24 +0000 (06:28 +0000)
src/compose.c

index a170a49..9c7c948 100644 (file)
@@ -4516,6 +4516,7 @@ static gint compose_write_headers(Compose *compose, FILE *fp,
 #endif
        /* Organization */
        if (compose->account->organization &&
+           strlen(compose->account->organization) &&
            !IS_IN_CUSTOM_HEADER("Organization")) {
                compose_convert_header(buf, sizeof(buf),
                                       compose->account->organization,