[tor-commits] [tor/master] Add the heartbeat domain in log.c:domain_list[]

nickm at torproject.org nickm at torproject.org
Mon Jun 6 22:34:22 UTC 2011


commit 9eab601f10958ad75b3aef0015f32fc339609054
Author: George Kadianakis <desnacked at gmail.com>
Date:   Sun Jun 5 21:27:53 2011 +0200

    Add the heartbeat domain in log.c:domain_list[]
    so that parse_log_domain() doesn't fail.
---
 src/common/log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/log.c b/src/common/log.c
index abdce14..9740062 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -899,7 +899,7 @@ log_level_to_string(int level)
 static const char *domain_list[] = {
   "GENERAL", "CRYPTO", "NET", "CONFIG", "FS", "PROTOCOL", "MM",
   "HTTP", "APP", "CONTROL", "CIRC", "REND", "BUG", "DIR", "DIRSERV",
-  "OR", "EDGE", "ACCT", "HIST", "HANDSHAKE", NULL
+  "OR", "EDGE", "ACCT", "HIST", "HANDSHAKE", "HEARTBEAT", NULL
 };
 
 /** Return a bitmask for the log domain for which <b>domain</b> is the name,





More information about the tor-commits mailing list