[tor-commits] [tor/master] Revert "fixup! prop224: Add hs_config.{c|h} with a refactoring"

nickm at torproject.org nickm at torproject.org
Thu Jul 13 21:26:47 UTC 2017


commit 28f643139951ee6b60cefa7d7a77bbb257c3af50
Author: David Goulet <dgoulet at torproject.org>
Date:   Tue Jul 11 16:17:58 2017 -0400

    Revert "fixup! prop224: Add hs_config.{c|h} with a refactoring"
    
    This reverts commit e2497e2ba038133026a475f0f93c9054187b2a1d.
---
 src/or/hs_config.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/or/hs_config.c b/src/or/hs_config.c
index afc9631..3baab46 100644
--- a/src/or/hs_config.c
+++ b/src/or/hs_config.c
@@ -287,7 +287,6 @@ config_generic_service(const config_line_t *line_,
 
   /* Makes thing easier. */
   config = &service->config;
-  memset(config, 0, sizeof(*config));
 
   /* The first line starts with HiddenServiceDir so we consider what's next is
    * the configuration of the service. */





More information about the tor-commits mailing list