Commit 59d65359 authored by Leigh Stoller's avatar Leigh Stoller

A missing last argument (files) to sendmail call.

parent 624f65df
......@@ -115,25 +115,25 @@ sub SignupURL($$)
}
# So we can localize MAILTAG variable.
sub SendEmail($$$$;$$)
sub SendEmail($$$$;$$@)
{
my ($self, $to, $subject, $body, $from, $headers) = @_;
my ($self, $to, $subject, $body, $from, $headers, @files) = @_;
# All this function does is this.
local $libtestbed::MAILTAG = $self->EmailTag();
SENDMAIL($to, $subject, $body, $from, $headers);
SENDMAIL($to, $subject, $body, $from, $headers, @files);
return 0;
}
# So we can localize MAILTAG variable.
sub AnonSendEmail($$$$;$$)
sub AnonSendEmail($$$$;$$@)
{
my ($self, $to, $subject, $body, $from, $headers) = @_;
my ($self, $to, $subject, $body, $from, $headers, @files) = @_;
# All this function does is this.
local $libtestbed::MAILTAG = $self->EmailTag();
AnonSENDMAIL($to, $subject, $body, $from, $headers);
AnonSENDMAIL($to, $subject, $body, $from, $headers, @files);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment