Skip to content

Commit

Permalink
from %S to %s
Browse files Browse the repository at this point in the history
  • Loading branch information
fayland committed Apr 23, 2011
1 parent aea2fa9 commit e225455
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Net-SMTP-TLS-ButMaintained

0.16 Apr 23th, 2011
from %S to %s in auth_PLAIN (RT 67608, thanks to khaled.blah)

0.15 Apr 8th, 2011
remove $VERSION inside code

Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = Net-SMTP-TLS-ButMaintained
version = 0.15
version = 0.16
author = Alexander Christian Westholm <awestholm at verizon dawt net>
author = Fayland Lam <fayland@gmail.com>
license = Perl_5
Expand Down
4 changes: 2 additions & 2 deletions lib/Net/SMTP/TLS/ButMaintained.pm
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,11 @@ sub auth_MD5{
}

# perform plain authentication
sub auth_PLAIN{
sub auth_PLAIN {
my $me = shift;
my $user= $me->{User};
my $pass= $me->{Password};
$me->_command(sprintf("AUTH PLAIN %S",
$me->_command(sprintf("AUTH PLAIN %s",
encode_base64("$user\0$user\0$pass","")));
my ($num,$txt) = $me->_response();
if(not $num == 235){
Expand Down

0 comments on commit e225455

Please sign in to comment.