summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-12 11:49:53 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-12 14:19:48 +0100
commit6488e5f1207eb3f72e00cd1e2ada2e443c891373 (patch)
tree4e4424bf1aa525f86cf48ff5a0c1044cab0efaff /sal
parent7769f9dbd4613a147a60d76e2df9fedd0f11289f (diff)
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/socket/sockethelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/osl/socket/sockethelper.cxx b/sal/qa/osl/socket/sockethelper.cxx
index c6ee81e2a363..35d650a42830 100644
--- a/sal/qa/osl/socket/sockethelper.cxx
+++ b/sal/qa/osl/socket/sockethelper.cxx
@@ -107,7 +107,7 @@ void printUString( const ::rtl::OUString & str, const char* msg)
#else
char hostname[255];
if (gethostname(hostname, 255) != 0) {
- OSL_ENSURE( false, "#Error: gethostname failed." );
+ OSL_FAIL( "#Error: gethostname failed." );
}
struct hostent *hptr;