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

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 11 May 2004 21:08:20 -0000


matthew		Tue May 11 17:08:20 2004 EDT

  Modified files:              
    /loncom	lonsql 
  Log:
  Removed extra newline in lonsql return value.
  
  
Index: loncom/lonsql
diff -u loncom/lonsql:1.59 loncom/lonsql:1.60
--- loncom/lonsql:1.59	Tue May 11 16:03:05 2004
+++ loncom/lonsql	Tue May 11 17:08:20 2004
@@ -3,7 +3,7 @@
 # The LearningOnline Network
 # lonsql - LON TCP-MySQL-Server Daemon for handling database requests.
 #
-# $Id: lonsql,v 1.59 2004/05/11 20:03:05 albertel Exp $
+# $Id: lonsql,v 1.60 2004/05/11 21:08:20 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -413,8 +413,6 @@
             # result does not need to be escaped because it has already been
             # escaped.
             #$result=&escape($result);
-            # reply with result, append \n unless already there
-	    $result.="\n" unless ($result=~/\n$/);
             &reply("queryreply:$queryid:$result",$conserver);
         }
         # tidy up gracefully and finish