projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
897ce66
)
Rename jb_err_to_string()'s parameter to jb_error to prevent shadowing issues after...
author
Fabian Keil
<fk@fabiankeil.de>
Wed, 21 Jul 2010 14:43:03 +0000
(14:43 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Wed, 21 Jul 2010 14:43:03 +0000
(14:43 +0000)
errlog.c
patch
|
blob
|
history
errlog.h
patch
|
blob
|
history
diff --git
a/errlog.c
b/errlog.c
index
8bff395
..
2ec5a80
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.10
0 2010/01/03 12:37:14
fabiankeil Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.10
1 2010/06/13 12:24:49
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@
-950,14
+950,14
@@
void log_error(int loglevel, const char *fmt, ...)
* visible to all files that include errlog.h.
*
* Parameters :
* visible to all files that include errlog.h.
*
* Parameters :
- * 1 : error = a valid jb_err code
+ * 1 :
jb_
error = a valid jb_err code
*
* Returns : A string with the jb_err translation
*
*********************************************************************/
*
* Returns : A string with the jb_err translation
*
*********************************************************************/
-const char *jb_err_to_string(int error)
+const char *jb_err_to_string(int
jb_
error)
{
{
- switch (error)
+ switch (
jb_
error)
{
case JB_ERR_OK:
return "Success, no error";
{
case JB_ERR_OK:
return "Success, no error";
diff --git
a/errlog.h
b/errlog.h
index
9f4b1b3
..
75ae4c2
100644
(file)
--- a/
errlog.h
+++ b/
errlog.h
@@
-1,6
+1,6
@@
#ifndef ERRLOG_H_INCLUDED
#define ERRLOG_H_INCLUDED
#ifndef ERRLOG_H_INCLUDED
#define ERRLOG_H_INCLUDED
-#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.2
2 2009/02/09 21:21:15
fabiankeil Exp $"
+#define ERRLOG_H_VERSION "$Id: errlog.h,v 1.2
3 2009/05/16 13:27:20
fabiankeil Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.h,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.h,v $
@@
-69,7
+69,7
@@
extern void disable_logging(void);
extern void init_log_module(void);
extern void show_version(const char *prog_name);
extern void log_error(int loglevel, const char *fmt, ...);
extern void init_log_module(void);
extern void show_version(const char *prog_name);
extern void log_error(int loglevel, const char *fmt, ...);
-extern const char *jb_err_to_string(int error);
+extern const char *jb_err_to_string(int
jb_
error);
/* Revision control strings from this header and associated .c file */
extern const char errlog_rcs[];
/* Revision control strings from this header and associated .c file */
extern const char errlog_rcs[];