Changeset 13700


Ignore:
Timestamp:
Dec 27, 2012, 8:22:32 PM (8 years ago)
Author:
jordan
Message:

(trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- use TR_PATH_MAX instead of PATH_MAX for session.downloadDirFsType and session.downloadDirBlkDev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r13698 r13700  
    591591    session->tag = tr_strdup (tag);
    592592    session->magicNumber = SESSION_MAGIC_NUMBER;
    593     session->downloadDirBlkDev = tr_malloc (PATH_MAX + 1);
    594     session->downloadDirFsType = tr_malloc (PATH_MAX + 1);
     593    session->downloadDirBlkDev = tr_malloc (TR_PATH_MAX + 1);
     594    session->downloadDirFsType = tr_malloc (TR_PATH_MAX + 1);
    595595    tr_bandwidthConstruct (&session->bandwidth, session, NULL);
    596596    tr_peerIdInit (session->peer_id);
Note: See TracChangeset for help on using the changeset viewer.