Changeset 14266


Ignore:
Timestamp:
Apr 27, 2014, 11:10:01 PM (8 years ago)
Author:
jordan
Message:

(trunk, libT) #5651 'int to bool patch' -- fixed, patch by rajmannugetr

Location:
trunk/libtransmission
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r14069 r14266  
    6060tr_netInit (void)
    6161{
    62     static int initialized = false;
     62    static bool initialized = false;
    6363
    6464    if (!initialized)
  • trunk/libtransmission/peer-msgs.c

    r14241 r14266  
    13401340    const int peerIsChoked = msgs->peer_is_choked;
    13411341
    1342     int allow = false;
     1342    bool allow = false;
    13431343
    13441344    if (!reqIsValid)
  • trunk/libtransmission/session.c

    r14241 r14266  
    12441244tr_sessionGetActiveSpeedLimit_Bps (const tr_session * session, tr_direction dir, unsigned int * setme_Bps)
    12451245{
    1246   int isLimited = true;
     1246  bool isLimited = true;
    12471247
    12481248  if (!tr_isSession (session))
  • trunk/libtransmission/utils-test.c

    r14241 r14266  
    205205  const int A[] = { 1, 2, 3, 3, 3, 5, 8 };
    206206  const int expected_pos[] = { 0, 1, 2, 5, 5, 6, 6, 6, 7, 7 };
    207   const int expected_exact[] = { true, true, true, false, true, false, false, true, false, false };
     207  const bool expected_exact[] = { true, true, true, false, true, false, false, true, false, false };
    208208  const int N = sizeof (A) / sizeof (A[0]);
    209209
  • trunk/libtransmission/variant-json.c

    r14241 r14266  
    605605{
    606606  struct jsonWalk * data = vdata;
    607   int emptyContainer = false;
     607  bool emptyContainer = false;
    608608
    609609  jsonPopParent (data);
Note: See TracChangeset for help on using the changeset viewer.