projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5669d93
)
Remove two obsolete comments in log_error().
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jul 2010 11:20:53 +0000
(11:20 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jul 2010 11:20:53 +0000
(11:20 +0000)
errlog.c
patch
|
blob
|
history
diff --git
a/errlog.c
b/errlog.c
index
30cb86c
..
1579e74
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.10
3 2010/07/26 11:19:31
fabiankeil Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.10
4 2010/07/26 11:20:17
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@
-873,7
+873,7
@@
void log_error(int loglevel, const char *fmt, ...)
snprintf(tempbuf, sizeof(tempbuf), "Bad format string: \"%s\"", fmt);
loglevel = LOG_LEVEL_FATAL;
break;
snprintf(tempbuf, sizeof(tempbuf), "Bad format string: \"%s\"", fmt);
loglevel = LOG_LEVEL_FATAL;
break;
- }
/* switch( p ) */
+ }
assert(length < log_buffer_size);
length += strlcpy(outbuf + length, format_string, log_buffer_size - length);
assert(length < log_buffer_size);
length += strlcpy(outbuf + length, format_string, log_buffer_size - length);
@@
-888,7
+888,7
@@
void log_error(int loglevel, const char *fmt, ...)
break;
}
break;
}
- }
/* for( p ... ) */
+ }
/* done with var. args */
va_end(ap);
/* done with var. args */
va_end(ap);