aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/07_log_to_file_by_default.dpatch
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-01-09 02:30:28 +0000
committerPeter Palfrader <peter@palfrader.org>2005-01-09 02:30:28 +0000
commiteab35efa67e33ad35499b3de5fafe4a3d4c8eefd (patch)
tree8232bbf05f2b6fd7591acbaa49103f19e63468e8 /debian/patches/07_log_to_file_by_default.dpatch
parent904b321fa748a25319fd6f99a4725b50e9ad089f (diff)
downloadtor-eab35efa67e33ad35499b3de5fafe4a3d4c8eefd.tar.gz
tor-eab35efa67e33ad35499b3de5fafe4a3d4c8eefd.zip
Forward port patches
svn:r3329
Diffstat (limited to 'debian/patches/07_log_to_file_by_default.dpatch')
-rwxr-xr-xdebian/patches/07_log_to_file_by_default.dpatch12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/patches/07_log_to_file_by_default.dpatch b/debian/patches/07_log_to_file_by_default.dpatch
index 633af2379d..46e5f1e88d 100755
--- a/debian/patches/07_log_to_file_by_default.dpatch
+++ b/debian/patches/07_log_to_file_by_default.dpatch
@@ -23,15 +23,15 @@ esac
exit 0
@DPATCH@
-diff -urNad tor-0.0.9rc7/src/or/config.c /tmp/dpep.BdF2iw/tor-0.0.9rc7/src/or/config.c
---- tor-0.0.9rc7/src/or/config.c 2004-12-08 13:20:28.111199142 +0100
-+++ /tmp/dpep.BdF2iw/tor-0.0.9rc7/src/or/config.c 2004-12-08 13:22:08.294210420 +0100
-@@ -1179,7 +1179,7 @@
+diff -urNad tor-0.1.0.0-alpha-cvs/src/or/config.c /tmp/dpep.YwfNhI/tor-0.1.0.0-alpha-cvs/src/or/config.c
+--- tor-0.1.0.0-alpha-cvs/src/or/config.c 2005-01-07 02:00:10.761573594 +0100
++++ /tmp/dpep.YwfNhI/tor-0.1.0.0-alpha-cvs/src/or/config.c 2005-01-07 02:01:02.819978258 +0100
+@@ -1192,7 +1192,7 @@
/* Special case if no options are given. */
if (!options->Logs) {
-- options->Logs = config_line_prepend(NULL, "Log", "notice stdout");
-+ options->Logs = config_line_prepend(NULL, "Log", "notice file /var/log/tor/log");
+- config_line_append(&options->Logs, "Log", "notice stdout");
++ config_line_append(&options->Logs, "Log", "notice file /var/log/tor/log");
}
if (config_init_logs(options, 1)<0) /* Validate the log(s) */