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

Modified Files:
        mal_client.mx 
Log Message:
propagated changes of Thursday Nov 01 2007 - Monday Nov 05 2007
from the MonetDB_5-2 branch to the development trunk



Index: mal_client.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_client.mx,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- mal_client.mx       29 Oct 2007 20:09:55 -0000      1.160
+++ mal_client.mx       5 Nov 2007 19:27:44 -0000       1.161
@@ -349,18 +349,19 @@
        GDKfree(x);
 }
 
-static Client MCnewClient(){
+static Client MCnewClient()
+{
        Client  c;
-       if( mal_clients[CONSOLE].user)
+       if (mal_clients[CONSOLE].mode)
                GDKprotect();
        mal_set_lock(mal_contextLock, "newClient");
-       if( mal_clients[CONSOLE].user &&
-                       mal_clients[CONSOLE].mode == FINISHING){
+       if (mal_clients[CONSOLE].user &&
+           mal_clients[CONSOLE].mode == FINISHING) {
                showException(MAL,"newClient", "system shutdown in progress");
                mal_unset_lock(mal_contextLock, "newClient");
                return NULL;
        }
-       for(c = mal_clients; c < mal_clients+MAL_MAXCLIENTS; c++) {
+       for (c = mal_clients; c < mal_clients+MAL_MAXCLIENTS; c++) {
                if (c->mode == FREECLIENT) {
                        c->mode= CLAIMED;
                        break;


-------------------------------------------------------------------------
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