Commit 345fba60 by Jonathan Wakely Committed by Jonathan Wakely

Add missing return

	* include/experimental/socket (basic_socket::at_mark): Add missing
	return.

From-SVN: r265199
parent 5ae2c32a
2018-10-16 Jonathan Wakely <jwakely@redhat.com>
* include/experimental/socket (basic_socket::at_mark): Add missing
return.
* acinclude.m4 (GLIBCXX_CHECK_RANDOM_TR1): Replace with ...
(GLIBCXX_CHECK_DEV_RANDOM): New macro with more descriptive name.
Define _GLIBCXX_USE_DEV_RANDOM as well as _GLIBCXX_USE_RANDOM_TR1.
......
......@@ -756,12 +756,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{
const int __result = ::sockatmark(native_handle());
if (__result == -1)
__ec.assign(errno, generic_category());
else
{
__ec.clear();
return __result;
__ec.assign(errno, generic_category());
return false;
}
__ec.clear();
return (bool)__result;
}
size_t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment