From e6a403209c29bd2ec2242d654ad45276de02cb44 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 24 Jun 2008 12:44:50 +0200 Subject: [PATCH] nmbd: don't panic if messaging_init() fails - return NULL instead. Michael --- source/nmbd/nmbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index af4acc84d07..5126715a47f 100644 --- a/source/nmbd/nmbd.c +++ b/source/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; } -- 2.47.3