if (!tny_mime_part_is_purged (part)) {
guint64 size;
- *attachments_count ++;
+ (*attachments_count) ++;
size = modest_attachment_view_get_size (MODEST_ATTACHMENT_VIEW (att_view));
if (size == 0) {
/* we do a random estimation of the size of an attachment */