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/rpc-server.c

    r7128 r7173  
    4848struct tr_rpc_server
    4949{
    50     unsigned int       isEnabled          : 1;
    51     unsigned int       isPasswordEnabled  : 1;
    52     unsigned int       isWhitelistEnabled : 1;
     50    tr_bool            isEnabled;
     51    tr_bool            isPasswordEnabled;
     52    tr_bool            isWhitelistEnabled;
    5353    uint16_t           port;
    5454    struct evhttp *    httpd;
Note: See TracChangeset for help on using the changeset viewer.