瀏覽代碼

r13276@catbus: nickm | 2007-06-05 19:45:33 -0400
Remove another long-dead #if 0 I missed before


svn:r10511

Nick Mathewson 17 年之前
父節點
當前提交
1a29d68081
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      src/or/config.c

+ 0 - 6
src/or/config.c

@@ -2762,12 +2762,6 @@ options_validate(or_options_t *old_options, or_options_t *options,
     return -1;
   }
 
-#if 0
-  if (options->SocksPort >= 1 &&
-      (options->PathlenCoinWeight < 0.0 || options->PathlenCoinWeight >= 1.0))
-    REJECT("PathlenCoinWeight option must be >=0.0 and <1.0.");
-#endif
-
   if (options->RendPostPeriod < MIN_REND_POST_PERIOD) {
     log(LOG_WARN,LD_CONFIG,"RendPostPeriod option must be at least %d seconds."
         " Clipping.", MIN_REND_POST_PERIOD);