diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-13 12:01:31 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-13 11:54:04 +0200 |
commit | 45c1e95c720fac3e6c1d2173225eb3b4f92e8c20 (patch) | |
tree | f0a2150f4dad4dcfa6d526c68766069607d53a61 | |
parent | f72e28e24c2b13a957a8bbd3910d3b5294766923 (diff) | |
download | samba-45c1e95c720fac3e6c1d2173225eb3b4f92e8c20.tar.gz samba-45c1e95c720fac3e6c1d2173225eb3b4f92e8c20.tar.bz2 samba-45c1e95c720fac3e6c1d2173225eb3b4f92e8c20.zip |
Correctly return NULL from messaging_ctdbd_connection if messaging_init failed
(This used to be commit 549db133df6782bcca7d033e8573e47716877cbd)
-rw-r--r-- | source3/lib/messages_ctdbd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/messages_ctdbd.c b/source3/lib/messages_ctdbd.c index 7d182a57d8..cf780c4e47 100644 --- a/source3/lib/messages_ctdbd.c +++ b/source3/lib/messages_ctdbd.c @@ -53,6 +53,7 @@ struct ctdbd_connection *messaging_ctdbd_connection(void) msg = messaging_init(NULL, procid_self(), ev); if (!msg) { DEBUG(0,("messaging_init failed\n")); + return NULL; } db_tdb2_setup_messaging(msg, false); |