[LON-CAPA-cvs] cvs: loncom / loncnew
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 02 Mar 2004 16:25:17 -0000
albertel Tue Mar 2 11:25:17 2004 EDT
Modified files:
/loncom loncnew
Log:
- Yeah, finally figured out the loncnew goes on a holiday bug
Index: loncom/loncnew
diff -u loncom/loncnew:1.43 loncom/loncnew:1.44
--- loncom/loncnew:1.43 Tue Feb 17 10:09:08 2004
+++ loncom/loncnew Tue Mar 2 11:25:17 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# lonc maintains the connections to remote computers
#
-# $Id: loncnew,v 1.43 2004/02/17 15:09:08 albertel Exp $
+# $Id: loncnew,v 1.44 2004/03/02 16:25:17 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1269,7 +1269,7 @@
Debug(8,"Data: ".$data." this read: ".$thisread);
$data = $data.$thisread; # Append new data.
$watcher->data($data);
- if($data =~ /(.*\n)/) { # Request entirely read.
+ if($data =~ /\n$/) { # Request entirely read.
if($data eq "close_connection_exit\n") {
Log("CRITICAL",
"Request Close Connection ... exiting");