From: Jameson Rollins Date: Sat, 30 Oct 2010 19:53:38 +0000 (-0400) Subject: tweak log message, and remove errant space X-Git-Tag: msva-perl_debian/0.6-1~2^2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5635514fdff8cea46baa255093308a5a1c8891a6;p=monkeysphere-validation-agent.git tweak log message, and remove errant space --- diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm index 8c4cb81..02170b1 100755 --- a/Crypt/Monkeysphere/MSVA.pm +++ b/Crypt/Monkeysphere/MSVA.pm @@ -171,7 +171,7 @@ push(@goodlines, $line) if ($state eq 'body'); } - msvalog('debug', "Found %d lines of RFC4716 body:\n%s\n", + msvalog('debug', "Found %d lines of RFC4716 body:\n%s\n", scalar(@goodlines), join("\n", @goodlines)); my $out = parse_rfc4716body(join('', @goodlines)); @@ -593,8 +593,8 @@ my $uid = getuid($data); if ($uid eq []) { - msvalog('error', "invalid peer/context: %s/%s\n", $data->{context}, $data->{peer}); - $ret->{message} = sprintf('invalid peer/context'); + msvalog('error', "invalid context/peer: %s/%s\n", $data->{context}, $data->{peer}); + $ret->{message} = sprintf('invalid context/peer'); return $status, $ret; } msvalog('verbose', "context: %s\n", $data->{context});