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

    re8d6ce2 rfeeac0d  
    360360        fibril_mutex_lock(&conn_list_lock);
    361361       
    362         list_foreach(conn_list, link) {
    363                 tcp_conn_t *conn = list_get_instance(link, tcp_conn_t, link);
     362        list_foreach(conn_list, link, tcp_conn_t, conn) {
    364363                tcp_sockpair_t *csp = &conn->ident;
    365364               
Note: See TracChangeset for help on using the changeset viewer.