summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-04-22 08:30:49 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-04-22 08:30:49 -0400
commitdb0dfdf8b5f56e27ce64f5e27fa87022bde784c8 (patch)
treef752e2f82f025477b83f892e5ef1d66675e98ed0
parentf04beeeead696bb9784a7777d3be5aca133f4059 (diff)
downloadsdl_ios-db0dfdf8b5f56e27ce64f5e27fa87022bde784c8.tar.gz
Init rpc message with mutable dictionaryhotfix/issue_388
Fixes #388
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m2
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];