Home GnuPG
Diffusion GpgOL 7e76531304ec

Abort attachment process chain in case of error

Description

Abort attachment process chain in case of error

* src/mail.cpp (add_attachments_o): Don't continue with attachment
processing if something failed.

This should make the errors clearer and avoid undefined behavior
in case e.g. obtaining an attachment tmp name fails.

Details