File ssmtp-bcc-fix.patch of Package ssmtp

--- ssmtp-2.61.redhat/ssmtp.c	2006-12-08 01:25:35.000000000 +0200
+++ ssmtp-2.61.debian/ssmtp.c	2006-12-08 01:24:25.000000000 +0200
@@ -708,6 +704,10 @@
 		else if(strncasecmp(ht->string, "Bcc:", 4) == 0) {
 			p = (ht->string + 4);
 			rcpt_parse(p);
+                        /* Undo adding the header to the list: */
+                        free(ht->string);
+                        ht->string = NULL;
+                        return;
 		}
 		else if(strncasecmp(ht->string, "CC:", 3) == 0) {
 			p = (ht->string + 3);
openSUSE Build Service is sponsored by