From 6e8354720d6f9103128376492029e2cbdb729490 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 8 May 2007 18:19:30 +0000 Subject: Recorded merge of revisions 536279 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r536279 | aconway | 2007-05-08 14:09:35 -0400 (Tue, 08 May 2007) | 3 lines * lib/broker/Daemon.cpp: Fixed bug causing qpidd -c to sometmes delete the pidfile. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@536285 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Daemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') diff --git a/cpp/src/qpid/broker/Daemon.cpp b/cpp/src/qpid/broker/Daemon.cpp index 729718b9d1..3c5a642b60 100644 --- a/cpp/src/qpid/broker/Daemon.cpp +++ b/cpp/src/qpid/broker/Daemon.cpp @@ -51,7 +51,7 @@ const char* Daemon::getPidFile() { return pidFile.c_str(); } -Daemon::Daemon(const string& name_, int secs) : timeout(secs) +Daemon::Daemon(const string& name_, int secs) : pid(-1), timeout(secs) { name = name_; daemon_pid_file_ident = daemon_log_ident = name.c_str(); -- cgit v1.2.1