Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7917/runtime

Modified Files:
        xrpc_server.mx 
Log Message:
propagated changes of Tuesday Dec 18 2007
from the XQuery_0-20 branch to the development trunk

[mainly to ensure that they will (also) by tested on Windows tonight]


Index: xrpc_server.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc_server.mx,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- xrpc_server.mx      25 Oct 2007 19:33:42 -0000      1.56
+++ xrpc_server.mx      18 Dec 2007 21:02:21 -0000      1.57
@@ -123,9 +123,8 @@
 PROC rpcd_start() : void {
     var port := get_xrpc_port();
     xrpc_trusted.insert("http://127.0.0.1:"+str(port),nil);
-    xrpc_trusted.insert("http://localhost:"+str(port),nil);
     if (monet_environment.find("monet_welcome") = "yes") 
-        printf("%c XRPC administrative console at 
http://localhost:%d/admin\n";, int(35), port);
+        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()) );
 }
 ADDHELP("rpcd_start", "zhang", "Febuary 2007",
@@ -1238,7 +1237,7 @@
                 "Directory listing denied");
         return GDK_FAIL;
     }
-    snprintf(location, 1024, "http://localhost:%d/admin/admin.xq";, xrpc_port);
+    snprintf(location, 1024, "http://127.0.0.1:%d/admin/admin.xq";, xrpc_port);
     method = shttpd_get_method(arg);
     argcnt = GDKmalloc(sizeof(lng*));
     if (!argcnt){


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to