aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-20 06:08:25 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-20 06:08:25 +0000
commit6ccbd31bc420fc7a8892d1ce90e705e51ab199f4 (patch)
treef5e7543244996a8f9f0e789000d1c55592117351
parentMerged with Alon's r688. (diff)
downloadopenvpn-6ccbd31bc420fc7a8892d1ce90e705e51ab199f4.tar.xz
Addition of M_NOLF to error.h means that we need
to repartition the msglevel bit packing. Moved MUTE_LEVEL_SHIFT to 24, giving us (1<<16) to (1<<23) for future msg flag expansion. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@690 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index 5d2501b..bfe5ec3 100644
--- a/error.h
+++ b/error.h
@@ -112,7 +112,7 @@ extern int x_msg_line_num;
*
* A mute level of 0 is always printed.
*/
-#define MUTE_LEVEL_SHIFT 16
+#define MUTE_LEVEL_SHIFT 24
#define MUTE_LEVEL_MASK 0xFF
#define ENCODE_MUTE_LEVEL(mute_level) (((mute_level) & MUTE_LEVEL_MASK) << MUTE_LEVEL_SHIFT)