Kaynağa Gözat

Revert "fixup! prop224: Add hs_config.{c|h} with a refactoring"

This reverts commit e2497e2ba038133026a475f0f93c9054187b2a1d.
David Goulet 6 yıl önce
ebeveyn
işleme
28f6431399
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      src/or/hs_config.c

+ 0 - 1
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. */