mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(trunk, libT) #3833 'freespace' argument for 'session-get' RPC method -- use TR_PATH_MAX instead of PATH_MAX for session.downloadDirFsType and session.downloadDirBlkDev
This commit is contained in:
parent
0c1db5f67b
commit
5f1f4934eb
1 changed files with 2 additions and 2 deletions
|
@ -590,8 +590,8 @@ tr_sessionInit (const char * tag,
|
|||
session->cache = tr_cacheNew (1024*1024*2);
|
||||
session->tag = tr_strdup (tag);
|
||||
session->magicNumber = SESSION_MAGIC_NUMBER;
|
||||
session->downloadDirBlkDev = tr_malloc (PATH_MAX + 1);
|
||||
session->downloadDirFsType = tr_malloc (PATH_MAX + 1);
|
||||
session->downloadDirBlkDev = tr_malloc (TR_PATH_MAX + 1);
|
||||
session->downloadDirFsType = tr_malloc (TR_PATH_MAX + 1);
|
||||
tr_bandwidthConstruct (&session->bandwidth, session, NULL);
|
||||
tr_peerIdInit (session->peer_id);
|
||||
tr_variantInitList (&session->removedTorrents, 0);
|
||||
|
|
Loading…
Reference in a new issue