Commit dfa6838a dfa6838a42221dce65dc60d9e349698bc11287d9 by Sergey Poznyakoff

(vacation_subject): Make sure subject is not null.

1 parent 857fabe9
...@@ -448,7 +448,9 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags, ...@@ -448,7 +448,9 @@ vacation_subject (mu_sieve_machine_t mach, mu_list_t tags,
448 448
449 free (value); 449 free (value);
450 } 450 }
451 451 else
452 subject = "Re:";
453
452 if (mu_rfc2047_encode (MU_SIEVE_CHARSET, "quoted-printable", 454 if (mu_rfc2047_encode (MU_SIEVE_CHARSET, "quoted-printable",
453 subject, &value)) 455 subject, &value))
454 mu_header_set_value (newhdr, MU_HEADER_SUBJECT, subject, 0); 456 mu_header_set_value (newhdr, MU_HEADER_SUBJECT, subject, 0);
......