[LON-CAPA-cvs] cvs: loncom / lonc

foxr lon-capa-cvs@mail.lon-capa.org
Thu, 04 Apr 2002 22:04:54 -0000


foxr		Thu Apr  4 17:04:54 2002 EDT

  Modified files:              
    /loncom	lonc 
  Log:
  Conditionalize the debug log entry on entry to  HandleInput.
  
  
  
  
Index: loncom/lonc
diff -u loncom/lonc:1.37 loncom/lonc:1.38
--- loncom/lonc:1.37	Thu Apr  4 16:55:55 2002
+++ loncom/lonc	Thu Apr  4 17:04:54 2002
@@ -5,7 +5,7 @@
 # provides persistent TCP connections to the other servers in the network
 # through multiplexed domain sockets
 #
-# $Id: lonc,v 1.37 2002/04/04 21:55:55 foxr Exp $
+# $Id: lonc,v 1.38 2002/04/04 22:04:54 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -512,7 +512,9 @@
     my $ready   = shift;
     my $sock;
 
-    &logthis("Entered HandleInput\n");
+    if($DEBUG) {
+	&logthis("Entered HandleInput\n");
+    }
     foreach $sock (keys %$sockets) {
 	my $socket = $sockets->{$sock};
 	if(vec($selvec, $sock, 1)) { # Socket which is readable.