Changeset 49812cd2198078e851d2a122b4d233f7e19d1583

Show
Ignore:
Timestamp:
04/05/10 05:24:21 (3 years ago)
Author:
Nedko Arnaudov <nedko@…>
Children:
edf72d39720caf76f89be3b4ffe739f1a89caff8
Parents:
180a4d43075f8d657f3a5775661d24553192bc74
git-committer:
Nedko Arnaudov <nedko@arnaudov.name> / 2010-04-05T05:24:21Z+0300
Message:

daemon: when deleting room, search its studio graph client by uuid rather than by name

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • daemon/studio.c

    ref08b85 r49812cd  
    10681068  struct list_head * node_ptr; 
    10691069  ladish_room_handle room; 
     1070  uuid_t room_uuid; 
    10701071  ladish_client_handle room_client; 
    10711072 
     
    10901091      emit_room_disappeared(room); 
    10911092 
    1092       room_client = ladish_graph_find_client_by_name(g_studio.studio_graph, ladish_room_get_name(room)); 
     1093      ladish_room_get_uuid(room, room_uuid); 
     1094      room_client = ladish_graph_find_client_by_uuid(g_studio.studio_graph, room_uuid); 
    10931095      ASSERT(room_client != NULL); 
    10941096      ladish_graph_remove_client(g_studio.studio_graph, room_client);