X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=jcc.c;h=320d28f10762dd1abd688c639f95c7ae4f285293;hp=9c4ee5b624baad2192f1facf9a62259d375a02d0;hb=aa48dc0c96a29aeb4298ee0529c8020c8a318289;hpb=23645cec208b6d2de64fd10a201a490e547ab653 diff --git a/jcc.c b/jcc.c index 9c4ee5b6..320d28f1 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.221 2009/02/06 18:02:58 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.222 2009/02/08 12:56:51 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -6,7 +6,7 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.221 2009/02/06 18:02:58 fabiankeil Exp $" * Purpose : Main file. Contains main() method, main loop, and * the main connection-handling function. * - * Copyright : Written by and Copyright (C) 2001-2008 the SourceForge + * Copyright : Written by and Copyright (C) 2001-2009 the SourceForge * Privoxy team. http://www.privoxy.org/ * * Based on the Internet Junkbuster originally written @@ -33,6 +33,10 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.221 2009/02/06 18:02:58 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.222 2009/02/08 12:56:51 fabiankeil + * Call initialize_mutexes() before init_log_module() again. + * Broken since r220, might be the cause of Lee's #2579448. + * * Revision 1.221 2009/02/06 18:02:58 fabiankeil * When dropping privileges, also give up membership in supplementary * groups. Thanks to Matthias Drochner for reporting the problem, @@ -3580,7 +3584,7 @@ int main(int argc, const char *argv[]) initialize_mutexes(); /* Enable logging until further notice. */ - init_log_module(Argv[0]); + init_log_module(); /* * Parse the command line arguments @@ -3693,6 +3697,8 @@ int main(int argc, const char *argv[]) } /* -END- while (more arguments) */ + show_version(Argv[0]); + #if defined(unix) if ( *configfile != '/' ) {