Browse Source

mark ssl IO as such

ps 9 years ago
parent
commit
1cacba32c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Socket.cpp

+ 2 - 2
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());