Changeset feeac0d in mainline for uspace/srv/net/inetsrv/inetsrv.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/inetsrv/inetsrv.c

    re8d6ce2 rfeeac0d  
    446446        fibril_mutex_lock(&client_list_lock);
    447447
    448         list_foreach(client_list, link) {
    449                 inet_client_t *client = list_get_instance(link, inet_client_t,
    450                     client_list);
    451 
     448        list_foreach(client_list, client_list, inet_client_t, client) {
    452449                if (client->protocol == proto) {
    453450                        fibril_mutex_unlock(&client_list_lock);
Note: See TracChangeset for help on using the changeset viewer.