aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-01-18 15:47:49 +0000
committerlloyd <[email protected]>2012-01-18 15:47:49 +0000
commit3e2efbde4ef272336c85c5ed880ecf31442d6db8 (patch)
treeaf36a859ac3cd32d48f176a835f541d5538f5e19 /doc
parente0e7497f0b87410ee9e1f2eb191ee50c12bfec6a (diff)
s/queue_for_sending/send
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/asio_tls_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/asio_tls_server.cpp b/doc/examples/asio_tls_server.cpp
index ad8c75036..2ff640983 100644
--- a/doc/examples/asio_tls_server.cpp
+++ b/doc/examples/asio_tls_server.cpp
@@ -158,8 +158,8 @@ class tls_server_session : public boost::enable_shared_from_this<tls_server_sess
out += std::string((const char*)buf, buf_len);
out += "</body></html>\r\n\r\n";
- m_tls.queue_for_sending(reinterpret_cast<const byte*>(&out[0]),
- out.size());
+ m_tls.send(reinterpret_cast<const byte*>(&out[0]),
+ out.size());
m_tls.close();
}
}