LayoutTestRealy: Prepend __XPC_ to the key, not the value!
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Mar 2015 19:48:55 +0000 (19:48 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 1 Mar 2015 19:48:55 +0000 (19:48 +0000)
Follow-up fix for:

LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
<http://webkit.org/b/142145>

* LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
(-[LTRelayController _environmentVariables]): Fix think-o.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180866 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/LayoutTestRelay/LayoutTestRelay/LTRelayController.m

index e0dbba1..1fde057 100644 (file)
@@ -1,5 +1,17 @@
 2015-03-01  David Kilzer  <ddkilzer@apple.com>
 
+        LayoutTestRealy: Prepend __XPC_ to the key, not the value!
+
+        Follow-up fix for:
+
+        LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
+        <http://webkit.org/b/142145>
+
+        * LayoutTestRelay/LayoutTestRelay/LTRelayController.m:
+        (-[LTRelayController _environmentVariables]): Fix think-o.
+
+2015-03-01  David Kilzer  <ddkilzer@apple.com>
+
         LayoutTestRelay: App environment variables not set for --guard-malloc or --leaks
         <http://webkit.org/b/142145>
 
index 4d8a932..2ba9c37 100644 (file)
             if (value && strlen(value)) {
                 NSString *nsValue = [NSString stringWithUTF8String:value];
                 [dictionary setObject:nsValue forKey:keyName];
-                [dictionary setObject:[@"__XPC_" stringByAppendingString:nsValue] forKey:keyName];
+                [dictionary setObject:nsValue forKey:[@"__XPC_" stringByAppendingString:keyName]];
             }
         }