The 'reject_and_reply' function accepts the mbox to act upon as the parameter,
and internally names it "file". However, in few places it actually uses "mbox"
instead of "file", which happens to work fine, but is generally a bug.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fetch_header_or_die reply_subj "Subject" < "$file"
fetch_header_or_die reply_id "Message-Id" < "$file"
- to="$(fetch_header "To" < "$mbox")"
- cc="$(fetch_header "Cc" < "$mbox")"
+ to="$(fetch_header "To" < "$file")"
+ cc="$(fetch_header "Cc" < "$file")"
reply_cc="$(merge_addresses "$to" "$cc")"