Whitespace cleanups

Remove some trailing spaces and replace some tabs with spaces
This commit is contained in:
jaredj 2009-02-27 16:44:59 -06:00 committed by Ask Bjørn Hansen
parent 22a0da47d8
commit d4edf3acc6
3 changed files with 6 additions and 6 deletions

View File

@ -182,7 +182,7 @@ address). It returns a list of (local-part, domain).
# be overriden (in hook_pre_connection, for example) if people have # be overriden (in hook_pre_connection, for example) if people have
# different needs. # different needs.
our $atom_expr = '[a-zA-Z0-9!#%&*+=?^_`{|}~\$\x27\x2D\/]+'; our $atom_expr = '[a-zA-Z0-9!#%&*+=?^_`{|}~\$\x27\x2D\/]+';
our $address_literal_expr = our $address_literal_expr =
'(?:\[(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|IPv6:[0-9A-Fa-f:.]+)\])'; '(?:\[(?:\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|IPv6:[0-9A-Fa-f:.]+)\])';
our $subdomain_expr = '(?:[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?)'; our $subdomain_expr = '(?:[a-zA-Z0-9](?:[-a-zA-Z0-9]*[a-zA-Z0-9])?)';
our $domain_expr; our $domain_expr;

View File

@ -176,7 +176,7 @@ sub inject_mail {
} }
# add an empty message length record. # add an empty message length record.
# cleanup is supposed to understand that. # cleanup is supposed to understand that.
# see src/pickup/pickup.c # see src/pickup/pickup.c
$strm->print_rec('REC_TYPE_MESG', ""); $strm->print_rec('REC_TYPE_MESG', "");
# a received header has already been added in SMTP.pm # a received header has already been added in SMTP.pm
@ -203,6 +203,6 @@ sub inject_mail {
$strm->close(); $strm->close();
return wantarray ? ($status, $qid, $reason || "") : $status; return wantarray ? ($status, $qid, $reason || "") : $status;
} }
1; 1;
# vim:sw=2 # vim:sw=2

View File

@ -666,8 +666,8 @@ sub data_respond {
$self->transaction->header($header); $self->transaction->header($header);
# NOTE: This will not work properly under async. A # NOTE: This will not work properly under async. A
# data_headers_end_respond needs to be created. # data_headers_end_respond needs to be created.
my ($rc, $msg) = $self->run_hooks('data_headers_end'); my ($rc, $msg) = $self->run_hooks('data_headers_end');
if ($rc == DENY_DISCONNECT) { if ($rc == DENY_DISCONNECT) {
$self->respond(554, $msg || "Message denied"); $self->respond(554, $msg || "Message denied");
@ -679,7 +679,7 @@ sub data_respond {
return 1; return 1;
} }
# Save the start of just the body itself # Save the start of just the body itself
$self->transaction->set_body_start(); $self->transaction->set_body_start();
} }