Update of /cvsroot/monetdb/MonetDB5/src/modules/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12392/src/modules/mal

Modified Files:
        mserver.mx 
Log Message:
changed mapi_open=0 or 1 into mapi_open=true o false


Index: mserver.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/mserver.mx,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- mserver.mx  27 May 2007 17:35:27 -0000      1.86
+++ mserver.mx  29 May 2007 21:01:28 -0000      1.87
@@ -602,8 +602,7 @@
        struct sockaddr_in server;
        int sock = -1;
        int *Sock = GDKmalloc(sizeof(int));
-       int accept_any=1;
-       char *env;
+       int accept_any=0;
 
 #ifdef HAVE_SYS_UN_H
        struct sockaddr_un userver;
@@ -616,10 +615,7 @@
        int maxusers;
        char msg[512], *cmd, *usockfile, host[512];
 
-       env = GDKgetenv("mapi_open");
-       if(env){
-               accept_any= (int) atol(env);
-       }
+       accept_any = GDKgetenv_istrue("mapi_open");
 
        port = *Port;
        if (Usockfile == NULL || *Usockfile == 0 || strcmp(*Usockfile, str_nil) 
== 0)


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to