Changeset feeac0d in mainline for uspace/srv/net/dnsrsrv/transport.c


Ignore:
Timestamp:
2013-09-10T16:32:35Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4982d87
Parents:
e8d6ce2
Message:

Simplify use of list_foreach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsrsrv/transport.c

    re8d6ce2 rfeeac0d  
    158158        assert(fibril_mutex_is_locked(&treq_lock));
    159159
    160         list_foreach(treq_list, link) {
    161                 trans_req_t *treq = list_get_instance(link, trans_req_t, lreq);
    162 
     160        list_foreach(treq_list, lreq, trans_req_t, treq) {
    163161                if (treq->req->id == resp->id) {
    164162                        /* Match */
Note: See TracChangeset for help on using the changeset viewer.