Fix error message for missing TLS write function

* src/rpc/virnettlscontext.c: s/read/write/
This commit is contained in:
Daniel P. Berrange 2011-07-15 11:42:51 +01:00
parent f2845177e2
commit c8771867b8

View File

@ -669,7 +669,7 @@ virNetTLSSessionPush(void *opaque, const void *buf, size_t len)
{
virNetTLSSessionPtr sess = opaque;
if (!sess->writeFunc) {
VIR_WARN("TLS session push with missing read function");
VIR_WARN("TLS session push with missing write function");
errno = EIO;
return -1;
};