projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d182027
)
In LogPutString(), don't bother looking at pszText when not actually logging anything
author
Fabian Keil
<fk@fabiankeil.de>
Fri, 27 May 2011 11:34:16 +0000
(11:34 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Fri, 27 May 2011 11:34:16 +0000
(11:34 +0000)
w32log.c
patch
|
blob
|
history
diff --git
a/w32log.c
b/w32log.c
index
6094338
..
57f370e
100644
(file)
--- a/
w32log.c
+++ b/
w32log.c
@@
-1,4
+1,4
@@
-const char w32log_rcs[] = "$Id: w32log.c,v 1.3
7 2010/06/13 12:31:04 fabiankeil
Exp $";
+const char w32log_rcs[] = "$Id: w32log.c,v 1.3
8 2010/08/14 23:28:52 ler762
Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32log.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/w32log.c,v $
@@
-370,12
+370,12
@@
int LogPutString(const char *pszText)
int i;
int result = 0;
int i;
int result = 0;
- if (
pszText == NULL || strlen(pszText) == 0
)
+ if (
!g_bLogMessages
)
{
return 1;
}
{
return 1;
}
- if (
!g_bLogMessages
)
+ if (
pszText == NULL || strlen(pszText) == 0
)
{
return 1;
}
{
return 1;
}