Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29688

Modified Files:
      Tag: Feb2009
        xrpc_server.mx 
Log Message:
Only add the URL of the XRPC server to xrpc_trusted, if this list is not empty,
because, an empty xrpc_trusted list means to trust all.




U xrpc_server.mx
Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.88
retrieving revision 1.88.2.1
diff -u -d -r1.88 -r1.88.2.1
--- xrpc_server.mx      22 Jan 2009 15:19:33 -0000      1.88
+++ xrpc_server.mx      17 Mar 2009 13:12:17 -0000      1.88.2.1
@@ -137,7 +137,8 @@
 
 PROC rpcd_start() : void {
     var port := get_xrpc_port();
-    xrpc_trusted.append("http://127.0.0.1:"+str(port));
+    if(count(xrpc_trusted) > 0)
+        xrpc_trusted.append("http://127.0.0.1:"+str(port));
     if (monet_environment.find("monet_welcome") = "yes") 
         printf("%c XRPC administrative console at 
http://127.0.0.1:%d/admin\n";, int(35), port);
     fork( rpcd_start(port, get_xrpc_open(), get_xrpc_options()) );


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to