From 809aee68a34a147084cf2057d76ce04fe93c0ff2 Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 15 Jun 2007 22:06:50 +0000 Subject: r23511: Merge branches/SAMBA_3_0@23510 Tidy calls to smb_panic by removing trailing newlines. Print the failed expression in SMB_ASSERT. --- source/lib/data_blob.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/lib/data_blob.c') diff --git a/source/lib/data_blob.c b/source/lib/data_blob.c index 6ed48888a88..ebe97230e40 100644 --- a/source/lib/data_blob.c +++ b/source/lib/data_blob.c @@ -74,11 +74,11 @@ DATA_BLOB data_blob_talloc(TALLOC_CTX *mem_ctx, const void *p, size_t length) if (p) { ret.data = (uint8 *)TALLOC_MEMDUP(mem_ctx, p, length); if (ret.data == NULL) - smb_panic("data_blob_talloc: TALLOC_MEMDUP failed.\n"); + smb_panic("data_blob_talloc: TALLOC_MEMDUP failed"); } else { ret.data = (uint8 *)TALLOC(mem_ctx, length); if (ret.data == NULL) - smb_panic("data_blob_talloc: talloc failed.\n"); + smb_panic("data_blob_talloc: TALLOC failed"); } ret.length = length; -- cgit