print the rpc access list error message to Console
This commit is contained in:
parent
3a3397ca84
commit
a3324fbeea
|
@ -671,8 +671,13 @@
|
||||||
|
|
||||||
NSString * string = [components componentsJoinedByString: @","];
|
NSString * string = [components componentsJoinedByString: @","];
|
||||||
|
|
||||||
#warning check for an error!
|
char ** error = (char **)tr_malloc(sizeof(char **));
|
||||||
tr_sessionSetRPCACL(fHandle, [string UTF8String], NULL);
|
if (tr_sessionSetRPCACL(fHandle, [string UTF8String], error))
|
||||||
|
{
|
||||||
|
NSLog([NSString stringWithUTF8String: *error]);
|
||||||
|
tr_free(*error);
|
||||||
|
}
|
||||||
|
tr_free(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) addRemoveRPCIP: (id) sender
|
- (void) addRemoveRPCIP: (id) sender
|
||||||
|
|
Loading…
Reference in New Issue