Changeset 15d7261b in rtems for cpukit/telnetd


Ignore:
Timestamp:
Sep 18, 2014, 6:09:09 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
bdd6082
Parents:
8f0a2c9
Message:

telnetd: Use socklen_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/telnetd/telnetd.c

    r8f0a2c9 r15d7261b  
    106106{
    107107  char *rval = 0;
    108 #if 0
    109108  socklen_t size_adr = sizeof(srv->sin);
    110 #else
    111   /* 4.6 doesn't have socklen_t */
    112   uint32_t size_adr = sizeof(srv->sin);
    113 #endif
    114109  int acp_sock;
    115110
     
    162157  uni_sa peer;
    163158  int    rval = sock < 0;
    164 #if 0
    165159  socklen_t len  = sizeof(peer.sin);
    166 #else
    167   /* 4.6 doesn't have socklen_t */
    168   uint32_t len  = sizeof(peer.sin);
    169 #endif
    170160
    171161  if ( !rval )
Note: See TracChangeset for help on using the changeset viewer.