]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed remove() return code test to avoid spurious debug error message
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Apr 2002 19:46:14 +0000 (19:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 15 Apr 2002 19:46:14 +0000 (19:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sckipc.cpp

index 372c1d627e2ee2572f6a4af3e1c752aca6e26ddf..822f96397e9cfe96167ce490ed26d2e05accd2f3 100644 (file)
@@ -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());
         }