--- loncom/loncnew 2003/12/12 09:57:28 1.35 +++ loncom/loncnew 2003/12/15 23:30:57 1.36 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # lonc maintains the connections to remote computers # -# $Id: loncnew,v 1.35 2003/12/12 09:57:28 foxr Exp $ +# $Id: loncnew,v 1.36 2003/12/15 23:30:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -657,7 +657,7 @@ sub KillSocket { delete($ActiveConnections{$Socket}); } $ConnectionCount--; - + if ($ConnectionCount < 0) { $ConnectionCount = 0; } # If the connection count has gone to zero and there is work in the # work queue, the work all gets failed with con_lost. #