[SCM] CTDB repository - branch master updated - ctdb-1.0.104-7-g354c0ed
Ronnie Sahlberg
sahlberg at samba.org
Mon Nov 16 18:04:12 MST 2009
The branch, master has been updated
via 354c0edacf2d6cec5b295e139d4fec618bad1b06 (commit)
from cb8df973ccd446d87fbdd9a27843e54841ba5d89 (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 354c0edacf2d6cec5b295e139d4fec618bad1b06
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Nov 17 12:07:10 2009 +1100
create a new event context for the syslog daemon
-----------------------------------------------------------------------
Summary of changes:
server/ctdb_logging.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/server/ctdb_logging.c b/server/ctdb_logging.c
index ee472f1..16f728b 100644
--- a/server/ctdb_logging.c
+++ b/server/ctdb_logging.c
@@ -115,6 +115,9 @@ int start_syslog_daemon(struct ctdb_context *ctdb)
return 0;
}
+ talloc_free(ctdb->ev);
+ ctdb->ev = event_context_init(NULL);
+
syslog(LOG_ERR, "Starting SYSLOG daemon with pid:%d", (int)getpid());
close(state->fd[0]);
--
CTDB repository
More information about the samba-cvs
mailing list