minor fixes
This commit is contained in:
parent
f131ba864f
commit
700c217729
@ -480,10 +480,10 @@ exit:
|
||||
|
||||
/* Shutdown logging services */
|
||||
if( log_isopened() ) log_close();
|
||||
DEB((D_FREE, "good exit"));
|
||||
#ifdef DEBUG
|
||||
if( debug_isopened() ) debug_close();
|
||||
#endif
|
||||
DEB((D_FREE, "good exit"));
|
||||
exit(rc);
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ int answ_system(e_session type, char *connstr, int inetd)
|
||||
state.inet = TRUE;
|
||||
}
|
||||
else
|
||||
state.linename = isatty(0) ? port_get_name(ttyname(0)) : "tcpip";
|
||||
state.linename = isatty(0) ? port_get_name(ttyname(0)) : xstrcpy("tcpip");
|
||||
|
||||
if( !inetd )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user