From 1cacba32c794cc7b91e5af72151a0f2465bab579 Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 3 Oct 2011 20:40:57 +0000 Subject: [PATCH] mark ssl IO as such --- src/Socket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Socket.cpp b/src/Socket.cpp index 73888e3..d5aac52 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -272,7 +272,7 @@ string Socket::readLine() } while(c!=10&&!isClosed()); - LDEB("r>" + s.str()); + LDEB("r" + string(ssl_enabled?"s":"") + ">" + s.str()); return s.str(); } @@ -316,7 +316,7 @@ void Socket::writeByte(char c) void Socket::writeLine(string s) { - LDEB("w>"+s); + LDEB("w" + string(ssl_enabled?"s":"") + ">" + s); s+="\r\n"; writeBytes((void *)s.c_str(),s.length());