mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
(libT) handle a NULL third argument to tr_sessionSetRPCACL()
This commit is contained in:
parent
63c06c99b1
commit
6ec33f5e23
1 changed files with 2 additions and 1 deletions
|
@ -227,6 +227,7 @@ tr_rpcSetACL( tr_rpc_server * server, const char * acl, char ** setme_errmsg )
|
|||
|
||||
if( errmsg )
|
||||
{
|
||||
if( setme_errmsg )
|
||||
*setme_errmsg = errmsg;
|
||||
ret = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue