Browse Source

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

svn:r5766
Nick Mathewson 18 years ago
parent
commit
e1d1ce3da8
1 changed files with 2 additions and 2 deletions
  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;
     }