- Fixed bug where client didn't show up in server interfaces

- Fixed auto server start


git-svn-id: svn://svn.savannah.nongnu.org/lash/trunk@40 1de19dc7-4e3f-0410-a61d-eddf686bf0b7
This commit is contained in:
Dave Robillard 2006-05-29 22:51:41 +00:00
parent 3fd646bf16
commit 5735219870
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ lash_init(const lash_args_t * args,
LASH_DEBUGARGS("protocol version for connect: %s",
lash_protocol_string(protocol));
connect_params->protocol_version = protocol;
connect_params->flags = args->flags;
connect_params->flags = client->args->flags;
lash_connect_params_set_project(connect_params, args->project);
lash_connect_params_set_class(connect_params, class);
uuid_copy(connect_params->id, args->id);
@ -184,7 +184,7 @@ lash_init(const lash_args_t * args,
/* couldn't connect, try to start a new server */
/* but not if this client has been started by a server, in which
case something must be broken if we can't connect */
if ( !(client_flags | LASH_No_Start_Server) ) {
if ( !(client_flags & LASH_No_Start_Server) ) {
lash_args_get_id(args, id);
if (err && getenv("LASH_START_SERVER") != NULL && uuid_is_null(id)) {
LASH_DEBUGARGS("%s: trying to start new LASH server\n",