From e8515d2718f14a3242558e3297924a242ee68561 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 21 Dec 2005 19:53:20 +0000 Subject: [PATCH] Strip attachments on "duplicate" SVN revision: 1584 --- src/elogd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/elogd.c b/src/elogd.c index 6ec85a28..e6e27405 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -8057,6 +8057,10 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL text, &size, orig_tag, reply_tag, att, encoding, locked_by); get_author(lbs, attrib, orig_author); + + /* strip attachments on duplicate */ + if (bduplicate) + memset(att, 0, sizeof(att)); } }