提交 c8771867 编写于 作者: D Daniel P. Berrange

Fix error message for missing TLS write function

* src/rpc/virnettlscontext.c: s/read/write/
上级 f2845177
...@@ -669,7 +669,7 @@ virNetTLSSessionPush(void *opaque, const void *buf, size_t len) ...@@ -669,7 +669,7 @@ virNetTLSSessionPush(void *opaque, const void *buf, size_t len)
{ {
virNetTLSSessionPtr sess = opaque; virNetTLSSessionPtr sess = opaque;
if (!sess->writeFunc) { if (!sess->writeFunc) {
VIR_WARN("TLS session push with missing read function"); VIR_WARN("TLS session push with missing write function");
errno = EIO; errno = EIO;
return -1; return -1;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册