[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Fix error message for missing TLS write function



* src/rpc/virnettlscontext.c: s/read/write/
---
 src/rpc/virnettlscontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/rpc/virnettlscontext.c b/src/rpc/virnettlscontext.c
index 4963ab7..6a06565 100644
--- a/src/rpc/virnettlscontext.c
+++ b/src/rpc/virnettlscontext.c
@@ -803,7 +803,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;
     };
-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]