You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by mt...@apache.org on 2010/05/21 09:37:00 UTC

svn commit: r946920 - /trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc

Author: mturk
Date: Fri May 21 07:37:00 2010
New Revision: 946920

URL: http://svn.apache.org/viewvc?rev=946920&view=rev
Log:
Fix compile with -D_DEBUG. Seems like some old code hanging around

Modified:
    trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc

Modified: trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc?rev=946920&r1=946919&r2=946920&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc (original)
+++ trafficserver/traffic/trunk/iocore/net/SSLNetVConnection.cc Fri May 21 07:37:00 2010
@@ -150,8 +150,8 @@ ssl_read_from_net(NetHandler * nh, UnixN
   } else                        // if( bytes_read > 0 )
   {
 #if defined (_DEBUG)
-    if (readAvail == 0) {
-      Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] readAvail == 0");
+    if (bytes_read == 0) {
+      Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] bytes_read == 0");
     }
 #endif
   }