Created
February 17, 2011 10:34
-
-
Save vr/831465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- stunnel-4.33/src/log.c 2010-02-04 12:25:01.000000000 +0100 | |
+++ stunnel-4.33.log.patch/src/log.c 2011-02-16 11:30:43.078766354 +0100 | |
@@ -107,6 +107,9 @@ | |
char text[STRLEN], stamp[STRLEN]; | |
struct LIST *tmp; | |
+ if (mode!=LOG_MODE_NONE && level>global_options.debug_level) | |
+ return; | |
+ | |
va_start(arglist, format); | |
#ifdef HAVE_VSNPRINTF | |
vsnprintf(text, STRLEN, format, arglist); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment