Update of /cvsroot/monetdb/MonetDB4/src/mapi
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11028/src/mapi

Modified Files:
      Tag: MonetDB_4-20
        mapi.mx 
Log Message:
disabled mapi listener for the embedded version


Index: mapi.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/mapi/mapi.mx,v
retrieving revision 1.15.4.1
retrieving revision 1.15.4.2
diff -u -d -r1.15.4.1 -r1.15.4.2
--- mapi.mx     2 Oct 2007 11:52:30 -0000       1.15.4.1
+++ mapi.mx     22 Oct 2007 19:50:11 -0000      1.15.4.2
@@ -1403,13 +1403,15 @@
 }
 
 proc mapi_server() : void {
-       fork(mapi_listen(
-               get_mapi_port(),
-               str(nil),
-               5,
-               get_mapi_open() 
-               )
-       );
+       if (monet_environment.find("gdk_embedded") = "no") {
+               fork(mapi_listen(
+                       get_mapi_port(),
+                       str(nil),
+                       5,
+                       get_mapi_open() 
+                       )
+               );
+       }
 }
 mapi_server();
 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to