]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add the heartbeat domain in log.c:domain_list[]
authorGeorge Kadianakis <desnacked@gmail.com>
Sun, 5 Jun 2011 19:27:53 +0000 (21:27 +0200)
committerGeorge Kadianakis <desnacked@gmail.com>
Sun, 5 Jun 2011 19:27:53 +0000 (21:27 +0200)
so that parse_log_domain() doesn't fail.

src/common/log.c

index abdce142ad6096983b26c261efefb503e74f95e5..97400623e5440afa3ad6b5d73edfd77429309a17 100644 (file)
@@ -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,