fix Bug 556 'Organisation-header is sent even if empty'
[claws.git] / src / compose.c
index a170a4945dd7392ac5a75f081254fd851b83c939..9c7c948ebfbfb746585f0a3ac9c7d4a7285a31d0 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,