Commit 796d9aef 796d9aef17c932732aa9fa79602f8955ac8f7454 by Sergey Poznyakoff

Bugfix.

* libmailutils/base/amd.c (_amd_update_message): Return
immediately if the message is not modified. Always use
initialized value of flg.
1 parent 9be3f81f
......@@ -1288,7 +1288,9 @@ _amd_update_message (struct _amd_data *amd, struct _amd_message *mhm,
flg = mu_message_is_modified (mhm->message);
else if (mhm->attr_flags & MU_ATTRIBUTE_MODIFIED)
flg = MU_MSG_ATTRIBUTE_MODIFIED;
else
return 0;
if (!flg)
return 0;
......