Ignore:
Timestamp:
Nov 28, 2008, 10:11:41 PM (13 years ago)
Author:
charles
Message:

use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r7009 r7173  
    4646struct tr_natpmp
    4747{
     48    tr_bool            isMapped;
     49    tr_bool            hasDiscovered;
    4850    int                port;
    49     unsigned int       isMapped      : 1;
    50     unsigned int       hasDiscovered : 1;
    5151    time_t             renewTime;
    5252    time_t             commandTime;
Note: See TracChangeset for help on using the changeset viewer.