[PATCH] email-test-patchset: fix a bug when project is unknown

Artem Bityutskiy dedekind1 at gmail.com
Mon Feb 3 05:38:22 EST 2014


On Mon, 2014-02-03 at 11:46 +0200, Artem Bityutskiy wrote:
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> This patch corrects an issue due to attempting to use cfg_reply_to_all (a
> per-project configuration option) before we have checked whether the project
> is valid. This causes the whole aiaiai-email service to die. To fix this, move
> the checks for no project and unknown project above the cfg_reply_to_all use.
> Also unassign the to variable when sending these emails so that we don't spam
> everyone, (regardless of the reply_to_all setting). This restores the behavior
> to the previous default.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

Pushed this one, many thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the aiaiai mailing list