added: autoconf environment
[lcr.git] / admin_server.c
index 6b0647b..419d2ec 100644 (file)
@@ -648,7 +648,7 @@ int admin_message_to_join(struct admin_msg *msg, char *remote_name, int sock_id)
         || msg->param.bchannel.type == BCHANNEL_REMOVE_ACK)
        {
                /* no ref, but address */
-               message_bchannel_from_join(NULL, msg->param.bchannel.type, msg->param.bchannel.addr);
+               message_bchannel_from_join(NULL, msg->param.bchannel.type, msg->param.bchannel.handle);
                return(0);
        }
        
@@ -1153,7 +1153,7 @@ int admin_handle(void)
                                if (epoint)
                                {
                                        ((class DEFAULT_ENDPOINT_APP *)epoint->ep_app)->
-                                               release(RELEASE_ALL, CAUSE_NORMAL, LOCATION_PRIVATE_LOCAL, 0, 0);
+                                               release(RELEASE_ALL, LOCATION_PRIVATE_LOCAL, CAUSE_NORMAL, LOCATION_PRIVATE_LOCAL, CAUSE_NORMAL);
                                }
                        }