summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-11 19:08:03 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-11 19:08:03 +0000
commit87af1bb22c6886655a599f9962036daea8500c64 (patch)
tree3812262b7e648b2d227b0861a2ff3475bf6b6710 /src/options.cpp
parentadded --debug option to help text (diff)
cleanup
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 4a50839..c150d65 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -486,7 +486,7 @@ bool Options::parse(int argc, char* argv[])
#endif
#else
#ifdef WIN_SERVICE
- log_targets_.push_back("eventlog:3,".append(progname_));
+ log_targets_.push_back(std::string("eventlog:3,").append(progname_));
#else
log_targets_.push_back("stdout:3");
#endif