mirror of
https://github.com/transmission/transmission.git
synced 2026-04-25 03:10:31 +01:00
roll back the last two diffs (r6582 and r6583) in favor of a simpler/cleaner/better fix
This commit is contained in:
@@ -1314,7 +1314,7 @@ tr_bencLoadJSONFile( const char * filename, tr_benc * b )
|
||||
int ret;
|
||||
size_t contentLen;
|
||||
uint8_t * content = tr_loadFile( filename, &contentLen );
|
||||
ret = content ? tr_jsonParse( content, contentLen, b )
|
||||
ret = content ? tr_jsonParse( content, contentLen, b, NULL )
|
||||
: TR_ERROR_IO_OTHER;
|
||||
tr_free( content );
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user