diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-04-22 08:30:49 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-04-22 08:30:49 -0400 |
commit | db0dfdf8b5f56e27ce64f5e27fa87022bde784c8 (patch) | |
tree | f752e2f82f025477b83f892e5ef1d66675e98ed0 | |
parent | f04beeeead696bb9784a7777d3be5aca133f4059 (diff) | |
download | sdl_ios-hotfix/issue_388.tar.gz |
Init rpc message with mutable dictionaryhotfix/issue_388
Fixes #388
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m index 48e1fe275..ed9ca1678 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m @@ -259,7 +259,7 @@ const int POLICIES_CORRELATION_ID = 65535; // From the function name, create the corresponding RPCObject and initialize it NSString *functionClassName = [NSString stringWithFormat:@"SDL%@", functionName]; - SDLRPCMessage *newMessage = [[NSClassFromString(functionClassName) alloc] initWithDictionary:dict]; + SDLRPCMessage *newMessage = [[NSClassFromString(functionClassName) alloc] initWithDictionary:[dict mutableCopy]]; // Log the RPC message NSString *logMessage = [NSString stringWithFormat:@"%@", newMessage]; |