Added <nome> when no debug log.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1214 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
c993756368
commit
810b9a0adc
|
@ -76,9 +76,6 @@ int zmGetDebugEnv()
|
|||
char buffer[128];
|
||||
char *env_ptr;
|
||||
|
||||
/* zm_dbg_level = 0; */
|
||||
/* zm_dbg_log[0] = '\0'; */
|
||||
|
||||
env_ptr = getenv( "ZM_DBG_PRINT" );
|
||||
if ( env_ptr == (char *)NULL )
|
||||
{
|
||||
|
@ -213,7 +210,7 @@ int zmDebugInitialise( const char *name, const char *id, int level )
|
|||
Error(("fopen() for %s, error = %s",zm_dbg_log,strerror(errno)));
|
||||
return(ZM_DBG_ERROR);
|
||||
}
|
||||
Info(("Debug Level = %d, Debug Log = %s",zm_dbg_level,zm_dbg_log));
|
||||
Info(( "Debug Level = %d, Debug Log = %s", zm_dbg_level,zm_dbg_log[0]?zm_dbg_log:"<none>" ));
|
||||
|
||||
{
|
||||
struct sigaction action, old_action;
|
||||
|
|
Loading…
Reference in New Issue