From f22af5fc67a03bd473e6348f0d187e6421f0e929 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 8 May 2006 12:44:22 +0000 Subject: [PATCH] Bug 328 - Added abort call to Fatal to cause backtrace. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1965 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_debug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zm_debug.c b/src/zm_debug.c index 0db1cba3b..9da552a3d 100644 --- a/src/zm_debug.c +++ b/src/zm_debug.c @@ -460,6 +460,7 @@ int zmDbgOutput( const char *fstring, ... ) va_end(arg_ptr); if ( zm_dbg_code == ZM_DBG_FAT ) { + abort(); exit( -1 ); } return( strlen( zm_temp_dbg_string ) );