polipo reopenLog() bug?

"Yury Polyanskiy" <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Dear Juliusz,

Thank you very much for a very useful piece of software, polipo!

I think there is a small bug in the implementation:

void
reopenLog()
{
-    if(logFile) {
+   if(logFile && logFile->length > 0) {
        FILE *f;
        f = fopen(logFile->string, "a");


Thanks,
Yury

PS. Please CC me, I'm not on the list
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.