소스 검색

Warn about actual offending hiddenservice* config option, now that more than one is possible. Closes bug 239.

svn:r5766
Nick Mathewson 20 년 전
부모
커밋
e1d1ce3da8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/or/rendservice.c

+ 2 - 2
src/or/rendservice.c

@@ -237,8 +237,8 @@ rend_config_services(or_options_t *options, int validate_only)
       continue;
     }
     if (!service) {
-      warn(LD_CONFIG, "HiddenServicePort with no preceding HiddenServiceDir "
-           "directive.");
+      warn(LD_CONFIG, "%s with no preceding HiddenServiceDir directive",
+           line->key);
       rend_service_free(service);
       return -1;
     }