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