r23510: Tidy calls to smb_panic by removing trailing newlines. Print the
[nivanova/samba-autobuild/.git] / source3 / smbd / sec_ctx.c
index 4d4e24407bcd77a48af37b94d26121e3590a0947..97842419d5c3a9d1a7873e97b3b5e0b9526d07d8 100644 (file)
@@ -192,7 +192,7 @@ BOOL push_sec_ctx(void)
 
        if (sec_ctx_stack_ndx == MAX_SEC_CTX_DEPTH) {
                DEBUG(0, ("Security context stack overflow!\n"));
-               smb_panic("Security context stack overflow!\n");
+               smb_panic("Security context stack overflow!");
        }
 
        /* Store previous user context */
@@ -374,7 +374,7 @@ BOOL pop_sec_ctx(void)
 
        if (sec_ctx_stack_ndx == 0) {
                DEBUG(0, ("Security context stack underflow!\n"));
-               smb_panic("Security context stack underflow!\n");
+               smb_panic("Security context stack underflow!");
        }
 
        ctx_p = &sec_ctx_stack[sec_ctx_stack_ndx];