fix ssl_stream typo
This commit is contained in:
parent
4b0c4165d7
commit
56f1fb42d8
|
@ -150,14 +150,14 @@ public:
|
|||
template <class GettableSocketOption>
|
||||
void get_option(GettableSocketOption& opt)
|
||||
{
|
||||
m_sock.get_option(opt);
|
||||
m_sock.next_layer().get_option(opt);
|
||||
}
|
||||
#endif
|
||||
|
||||
template <class GettableSocketOption>
|
||||
error_code get_option(GettableSocketOption& opt, error_code& ec)
|
||||
{
|
||||
return m_sock.get_option(opt, ec);
|
||||
return m_sock.next_layer().get_option(opt, ec);
|
||||
}
|
||||
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
|
|
Loading…
Reference in New Issue