projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix silly typos.
[privoxy.git]
/
errlog.c
diff --git
a/errlog.c
b/errlog.c
index
96de4e1
..
58d1a84
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.5
7 2007/10/27 13:02:26
fabiankeil Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.5
8 2007/10/28 19:04:21
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@
-33,6
+33,10
@@
const char errlog_rcs[] = "$Id: errlog.c,v 1.57 2007/10/27 13:02:26 fabiankeil E
*
* Revisions :
* $Log: errlog.c,v $
*
* Revisions :
* $Log: errlog.c,v $
+ * Revision 1.58 2007/10/28 19:04:21 fabiankeil
+ * Don't mention daemon mode in "Logging disabled" message. Some
+ * platforms call it differently and it's not really relevant anyway.
+ *
* Revision 1.57 2007/10/27 13:02:26 fabiankeil
* Relocate daemon-mode-related log messages to make sure
* they aren't shown again in case of configuration reloads.
* Revision 1.57 2007/10/27 13:02:26 fabiankeil
* Relocate daemon-mode-related log messages to make sure
* they aren't shown again in case of configuration reloads.
@@
-549,7
+553,6
@@
void init_error_log(const char *prog_name, const char *logfname)
assert(NULL != logfname);
lock_loginit();
assert(NULL != logfname);
lock_loginit();
- lock_logfile();
if (logfp == stderr)
{
if (logfp == stderr)
{
@@
-571,6
+574,7
@@
void init_error_log(const char *prog_name, const char *logfname)
/* set logging to be completely unbuffered */
setbuf(fp, NULL);
/* set logging to be completely unbuffered */
setbuf(fp, NULL);
+ lock_logfile();
if (logfp != NULL)
{
fclose(logfp);
if (logfp != NULL)
{
fclose(logfp);