aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 481db2526a..25e456f403 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3189,8 +3189,12 @@ validate_data_directory(or_options_t *options)
return 0;
}
+/** This string must remain the same forevermore. It is how we
+ * recognize that the torrc file doesn't need to be backed up. */
#define GENERATED_FILE_PREFIX "# This file was generated by Tor; " \
"if you edit it, comments will not be preserved"
+/** This string can change; it tries to give the reader an idea
+ * that editing this file by hand is not a good plan. */
#define GENERATED_FILE_COMMENT "# If you want a config file with " \
"comments, look for torrc.orig.1 or similar"