Changeset 3316af8 in rtems


Ignore:
Timestamp:
Aug 21, 2008, 4:57:22 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
86f89be4
Parents:
199a0d3
Message:

2008-08-21 Ralf Corsépius <ralf.corsepius@…>

  • ftpd/ftpd.c: Don't use annonymous unions.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r199a0d3 r3316af8  
     12008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * ftpd/ftpd.c: Don't use annonymous unions.
     4
    152008-08-21      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • cpukit/ftpd/ftpd.c

    r199a0d3 r3316af8  
    14421442        uint32_t ip;
    14431443        uint16_t port;
    1444       };
     1444      } u ;
    14451445    } ip_info;
    14461446
     
    14571457       * to specify IP address different than those of the originating client
    14581458       * for the sake of safety. */
    1459       if (ip_info.ip == info->def_addr.sin_addr.s_addr)
     1459      if (ip_info.u.ip == info->def_addr.sin_addr.s_addr)
    14601460      {
    1461         info->data_addr.sin_addr.s_addr = ip_info.ip;
    1462         info->data_addr.sin_port        = ip_info.port;
     1461        info->data_addr.sin_addr.s_addr = ip_info.u.ip;
     1462        info->data_addr.sin_port        = ip_info.u.port;
    14631463        info->data_addr.sin_family      = AF_INET;
    14641464        memset(info->data_addr.sin_zero, 0, sizeof(info->data_addr.sin_zero));
Note: See TracChangeset for help on using the changeset viewer.