You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2004/11/22 12:36:27 UTC
svn commit: r106173 - /spamassassin/trunk/spamd/spamd.raw
Author: sidney
Date: Mon Nov 22 03:36:23 2004
New Revision: 106173
Modified:
spamassassin/trunk/spamd/spamd.raw
Log:
reformat two lines that were longer than our coding style guidelines allow
Modified: spamassassin/trunk/spamd/spamd.raw
Url: http://svn.apache.org/viewcvs/spamassassin/trunk/spamd/spamd.raw?view=diff&rev=106173&p1=spamassassin/trunk/spamd/spamd.raw&r1=106172&p2=spamassassin/trunk/spamd/spamd.raw&r2=106173
==============================================================================
--- spamassassin/trunk/spamd/spamd.raw (original)
+++ spamassassin/trunk/spamd/spamd.raw Mon Nov 22 03:36:23 2004
@@ -1276,7 +1276,9 @@
if ( $version >= 1.3 ) # Spamc protocol > 1.2 means multi hdrs are OK
{
my $msg_resp_length = length($msg_resp);
- syswrite( $client, "Content-length: $msg_resp_length\r\n" . $spamhdr . "\r\n\r\n" . $msg_resp );
+ syswrite( $client,
+ "Content-length: $msg_resp_length\r\n" .
+ $spamhdr . "\r\n\r\n" . $msg_resp );
}
else {
syswrite( $client, $spamhdr . "\r\n\r\n" . $msg_resp );
@@ -1428,7 +1430,8 @@
sub service_unavailable_error {
my ($err) = @_;
my $resp = "EX_UNAVAILABLE";
- syswrite( $client, "SPAMD/1.0 $resphash{$resp} Service Unavailable: $err\r\n" );
+ syswrite( $client,
+ "SPAMD/1.0 $resphash{$resp} Service Unavailable: $err\r\n" );
logmsg("service unavailable: $err");
}
Re: svn commit: r106173 - /spamassassin/trunk/spamd/spamd.raw
Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, Nov 23, 2004 at 09:09:07AM +1300, Sidney Markowitz wrote:
> There are a few hundred spaced parens in spamd.raw. I'll fix the lines I
> changed if you want, but if it's ok with you I won't do a massive edit
> of the file.
Yeah, that's me. I've used that in my code for over a decade, so it's not
easy to switch off when working on one set of code versus another. ;)
--
Randomly Generated Tagline:
"challenge response is a great way to tell people they are less important
than you" - Dan Quinlan via IRC
Re: svn commit: r106173 - /spamassassin/trunk/spamd/spamd.raw
Posted by Sidney Markowitz <si...@sidney.com>.
Daniel Quinlan wrote:
> Heh, I was most talking about the paren style, actually, not the line
> length (although now that you mention it).
There are a few hundred spaced parens in spamd.raw. I'll fix the lines I
changed if you want, but if it's ok with you I won't do a massive edit
of the file.
Or I can just keep it mind for next time I check something in.
-- sidney
Re: svn commit: r106173 - /spamassassin/trunk/spamd/spamd.raw
Posted by Daniel Quinlan <qu...@pathname.com>.
sidney@apache.org writes:
> + syswrite( $client,
> + "Content-length: $msg_resp_length\r\n" .
> + $spamhdr . "\r\n\r\n" . $msg_resp );
> }
Heh, I was most talking about the paren style, actually, not the line
length (although now that you mention it).
Daniel
--
Daniel Quinlan
http://www.pathname.com/~quinlan/