develooper Front page | perl.perl5.porters | Postings from April 2006

[PATCH] Move conditional SOCKS5 code into #ifdefs

Thread Next
From:
andy
Date:
April 3, 2006 06:28
Subject:
[PATCH] Move conditional SOCKS5 code into #ifdefs
Message ID:
20060403132818.GA7820@petdance.com
Here's one that Coverity picked up.  The code used #ifdefs to decide if
SOCKS5 was enabled at the top of the function, but then used a variable
to track at the end of the function if it should do the rest of the
SOCKS5-specific stuff.  Now both sections are in #ifdefs.

Plus I cleaned up a lot of whitespace and removed some unused braces.

xoxo,
Andy

-- 
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About