Changeset 94e46c9 in mainline for uspace/srv/net/dhcp/transport.c


Ignore:
Timestamp:
2015-05-23T04:09:11Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5143bd
Parents:
a25d893 (diff), 0683992 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes

File:
1 edited

Legend:

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

    ra25d893 r94e46c9  
    9595        int rc;
    9696
     97        if (dt->fd < 0) {
     98                /* Terminated */
     99                return EIO;
     100        }
     101
    97102        src_addr_size = sizeof(src_addr);
    98103        rc = recvfrom(dt->fd, msgbuf, MAX_MSG_SIZE, 0,
     
    166171{
    167172        closesocket(dt->fd);
     173        dt->fd = -1;
    168174}
    169175
Note: See TracChangeset for help on using the changeset viewer.