Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/file_bd/file_bd.c

    r47b7006 r79ae36dd  
    198198        (void) async_share_out_finalize(callid, fs_va);
    199199
    200         while (1) {
     200        while (true) {
    201201                callid = async_get_call(&call);
    202202                method = IPC_GET_IMETHOD(call);
    203                 switch (method) {
    204                 case IPC_M_PHONE_HUNGUP:
     203               
     204                if (!method) {
    205205                        /* The other side has hung up. */
    206206                        async_answer_0(callid, EOK);
    207207                        return;
     208                }
     209               
     210                switch (method) {
    208211                case BD_READ_BLOCKS:
    209212                        ba = MERGE_LOUP32(IPC_GET_ARG1(call),
Note: See TracChangeset for help on using the changeset viewer.