]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
nmbd: don't panic if messaging_init() fails - return NULL instead.
authorMichael Adam <obnox@samba.org>
Tue, 24 Jun 2008 10:44:50 +0000 (12:44 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 26 Jun 2008 10:31:11 +0000 (12:31 +0200)
Michael

source/nmbd/nmbd.c

index af4acc84d07a217fa5e9f43bfabe97702aa603d9..5126715a47f7ddd9e16f77388dd21752e6e919ce 100644 (file)
@@ -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;
 }