Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
59d65359
Commit
59d65359
authored
Oct 28, 2014
by
Leigh B Stoller
Browse files
A missing last argument (files) to sendmail call.
parent
624f65df
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Brand.pm.in
View file @
59d65359
...
...
@@ -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
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment