Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dad8d2d in mainline


Ignore:
Timestamp:
2017-12-20T15:47:17Z (4 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
68a2fab2
Parents:
10aaa2c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 15:46:56)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 15:47:17)
Message:

Fix async_data_write_receive() call in iplink_srv.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/iplink_srv.c

    r10aaa2c rdad8d2d  
    8989        ipc_callid_t callid;
    9090
    91         rc = async_data_write_receive(&callid, &size);
    92         if (rc != EOK) {
    93                 async_answer_0(callid, (sysarg_t) rc);
    94                 async_answer_0(iid, (sysarg_t) rc);
     91        if (!async_data_write_receive(&callid, &size)) {
     92                async_answer_0(callid, (sysarg_t) EREFUSED);
     93                async_answer_0(iid, (sysarg_t) EREFUSED);
    9594        }
    9695
Note: See TracChangeset for help on using the changeset viewer.