From 6488e5f1207eb3f72e00cd1e2ada2e443c891373 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 12 Mar 2011 11:49:53 +0100 Subject: Move OSL_ENSURE(false,...) to OSL_FAIL(...) --- sal/qa/osl/socket/sockethelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') 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; -- cgit