summarylogtreecommitdiffstats
path: root/patch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'patch.txt')
-rw-r--r--patch.txt39
1 files changed, 21 insertions, 18 deletions
diff --git a/patch.txt b/patch.txt
index 3a6fe8044dd..49fb07c5f0a 100644
--- a/patch.txt
+++ b/patch.txt
@@ -1,20 +1,23 @@
-index cf40f31..5c9d110 100755
+index d01de89..a16479c 100755
--- a/main.cpp
+++ b/main.cpp
-@@ -345,14 +345,14 @@ int main(int argc, const char * argv[])
- {
- int ret = 0;
- bool background = false, redirect_to_null = false;
-- std::string config_path = "EasyDrcom.conf";
-+ std::string config_path = "/etc/EasyDrcom.conf";
- auto clog_def = std::clog.rdbuf();
- auto cout_def = std::cout.rdbuf();
- auto cerr_def = std::cerr.rdbuf();
- #ifdef OPENWRT
- std::string log_path = "/tmp/EasyDrcom.log";
- #else
-- std::string log_path = "EasyDrcom.log";
-+ std::string log_path = "/tmp/EasyDrcom.log";
- #endif
-
- for (int i = 1; i < argc; i++)
+@@ -345,15 +345,11 @@ int main(int argc, const char * argv[])
+ {
+ int ret = 0;
+ bool background = false, redirect_to_null = false;
+- std::string config_path = "EasyDrcom.conf";
++ std::string config_path = "/etc/EasyDrcom.conf";
+ auto clog_def = std::clog.rdbuf();
+ auto cout_def = std::cout.rdbuf();
+ auto cerr_def = std::cerr.rdbuf();
+-#ifdef OPENWRT
+ std::string log_path = "/tmp/EasyDrcom.log";
+-#else
+- std::string log_path = "EasyDrcom.log";
+-#endif
+
+ for (int i = 1; i < argc; i++)
+ {
+--
+2.10.2
+