summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-06-24 12:44:50 +0200
committerMichael Adam <obnox@samba.org>2008-06-26 12:31:11 +0200
commitc1562aae9b0293c6f5726482f0c95d65befe8a3a (patch)
treed48e77e218c71012d05de7d2b0e1dbac7e7a96b3 /source3/nmbd
parent89ce05bb1427f6644e2d487bb1c06725550cf493 (diff)
downloadsamba-c1562aae9b0293c6f5726482f0c95d65befe8a3a.tar.gz
samba-c1562aae9b0293c6f5726482f0c95d65befe8a3a.tar.bz2
samba-c1562aae9b0293c6f5726482f0c95d65befe8a3a.zip
nmbd: don't panic if messaging_init() fails - return NULL instead.
Michael (This used to be commit e6a403209c29bd2ec2242d654ad45276de02cb44)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index af4acc84d0..5126715a47 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -54,7 +54,7 @@ struct messaging_context *nmbd_messaging_context(void)
if (!ctx && !(ctx = messaging_init(NULL, server_id_self(),
nmbd_event_context()))) {
- smb_panic("Could not init nmbd messaging context");
+ DEBUG(0, ("Could not init nmbd messaging context.\n"));
}
return ctx;
}