From b1ce226af8b61ad7e3c37860a59c6715012e738b Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 15 Jun 2007 21:58:49 +0000 Subject: r23510: Tidy calls to smb_panic by removing trailing newlines. Print the failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713) --- source3/nmbd/nmbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nmbd/nmbd.c') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 8c94ad842b..d367dc70fb 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -45,7 +45,7 @@ struct event_context *nmbd_event_context(void) static struct event_context *ctx; if (!ctx && !(ctx = event_context_init(NULL))) { - smb_panic("Could not init nmbd event context\n"); + smb_panic("Could not init nmbd event context"); } return ctx; } @@ -56,7 +56,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\n"); + smb_panic("Could not init nmbd messaging context"); } return ctx; } -- cgit