projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe3ced
)
invert the sense of the loglevel test. duh.
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 13 Jun 2008 17:11:54 +0000
(13:11 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 13 Jun 2008 17:11:54 +0000
(13:11 -0400)
src/keytrans/gnutls-helpers.c
patch
|
blob
|
history
diff --git
a/src/keytrans/gnutls-helpers.c
b/src/keytrans/gnutls-helpers.c
index c6e4979b66665b9cb0df3e241cb7a351efd908e0..d5f3719c90f9480d7c7cbb83e3afd1818e4296d1 100644
(file)
--- a/
src/keytrans/gnutls-helpers.c
+++ b/
src/keytrans/gnutls-helpers.c
@@
-15,11
+15,13
@@
/* for exit() */
#include <unistd.h>
+/* higher levels allow more frivolous error messages through.
+ this is set with the MONKEYSPHERE_DEBUG variable */
static int loglevel = 0;
void err(int level, const char* fmt, ...) {
va_list ap;
- if (level
<
loglevel)
+ if (level
>
loglevel)
return;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);