X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26a25f9523218117ab718b684ff514ad420b5aee..4b056ef54f29582e2a5154bf148f7ebc5877b51b:/src/common/sckipc.cpp diff --git a/src/common/sckipc.cpp b/src/common/sckipc.cpp index 372c1d627e..822f96397e 100644 --- a/src/common/sckipc.cpp +++ b/src/common/sckipc.cpp @@ -321,7 +321,7 @@ wxTCPServer::~wxTCPServer() #ifdef __UNIX_LIKE__ 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()); }