fixed remove() return code test to avoid spurious debug error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f4d7250ef1
commit
7e0a413dae
@ -321,7 +321,7 @@ wxTCPServer::~wxTCPServer()
|
|||||||
#ifdef __UNIX_LIKE__
|
#ifdef __UNIX_LIKE__
|
||||||
if ( !m_filename.empty() )
|
if ( !m_filename.empty() )
|
||||||
{
|
{
|
||||||
if ( !remove(m_filename) )
|
if ( remove(m_filename) != 0 )
|
||||||
{
|
{
|
||||||
wxLogDebug(_T("Stale AF_UNIX file '%s' left."), m_filename.c_str());
|
wxLogDebug(_T("Stale AF_UNIX file '%s' left."), m_filename.c_str());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user