mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk, libT) #4160 'foreign character support' -- merge mike.dld's 4160-02b-path.patch, which updates the codebase to use the new tr_sys_path_*() portability wrappers introduced in 4160-02a
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "transmission.h"
|
||||
#include "completion.h"
|
||||
#include "fdlimit.h"
|
||||
#include "file.h"
|
||||
#include "log.h"
|
||||
#include "platform-quota.h" /* tr_device_info_get_free_space() */
|
||||
#include "rpcimpl.h"
|
||||
@@ -1556,7 +1557,7 @@ gotNewBlocklist (tr_session * session,
|
||||
tr_snprintf (result, sizeof (result), "success");
|
||||
}
|
||||
|
||||
tr_remove (filename);
|
||||
tr_sys_path_remove (filename, NULL);
|
||||
tr_free (filename);
|
||||
tr_free (buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user