Changeset 1ed739c in rtems


Ignore:
Timestamp:
May 9, 2005, 12:41:28 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a0a03de2
Parents:
51120f7c
Message:

socklen_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/lib/tftpDriver.c

    r51120f7c r1ed739c  
    332332            struct sockaddr_in i;
    333333        } from;
    334         int fromlen = sizeof from;
    335         len = recvfrom (tp->socket, (char *)&tp->pkbuf,
     334        socklen_t fromlen = sizeof from;
     335        len = recvfrom (tp->socket, &tp->pkbuf,
    336336                                                    sizeof tp->pkbuf, 0,
    337337                                                    &from.s, &fromlen);
Note: See TracChangeset for help on using the changeset viewer.