From 7e0a413dae314479f26cb986561bec735d7dac02 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 15 Apr 2002 19:46:14 +0000 Subject: [PATCH] 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 --- src/common/sckipc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.47.2