diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 12:14:02 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:19:49 +0100 |
commit | 7f656740d865bcdf77a49a41d47aedf401a80795 (patch) | |
tree | 146474539a8caa50fb1be8028a2cedce91b9f2fd /sal | |
parent | adc6fe00e3ef3cca5bbd49a4633181856bf111df (diff) |
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/os2/socket.c | 2 | ||||
-rw-r--r-- | sal/osl/unx/socket.c | 2 | ||||
-rw-r--r-- | sal/osl/w32/file_error.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/os2/socket.c b/sal/osl/os2/socket.c index c52026000218..cfe015ceee41 100644 --- a/sal/osl/os2/socket.c +++ b/sal/osl/os2/socket.c @@ -1605,7 +1605,7 @@ void SAL_CALL osl_releaseSocket( oslSocket pSocket ) #if defined(LINUX) if ( pSocket->m_bIsAccepting == sal_True ) { - OSL_ENSURE(0, "osl_destroySocket : attempt to destroy socket while accepting\n"); + OSL_FAIL("osl_destroySocket : attempt to destroy socket while accepting\n"); return; } #endif /* LINUX */ diff --git a/sal/osl/unx/socket.c b/sal/osl/unx/socket.c index 3d7779f18ffb..66f88c089adc 100644 --- a/sal/osl/unx/socket.c +++ b/sal/osl/unx/socket.c @@ -1656,7 +1656,7 @@ void SAL_CALL osl_releaseSocket( oslSocket pSocket ) #if defined(LINUX) if ( pSocket->m_bIsAccepting == sal_True ) { - OSL_ENSURE(0, "osl_destroySocket : attempt to destroy socket while accepting\n"); + OSL_FAIL("osl_destroySocket : attempt to destroy socket while accepting\n"); return; } #endif /* LINUX */ diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c index 42f57a5e839f..bc9048d72a36 100644 --- a/sal/osl/w32/file_error.c +++ b/sal/osl/w32/file_error.c @@ -148,7 +148,7 @@ void _osl_warnFile( const char *message, rtl_uString *ustrFile ) message = szBuffer; } - OSL_ENSURE( 0, message ); + OSL_FAIL( message ); } #endif /* OSL_DEBUG_LEVEL */ |