aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPKeychain.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-09-03 19:32:39 +0000
committerstuconnolly <stuart02@gmail.com>2009-09-03 19:32:39 +0000
commitc90130c7b9a66d921e0b45e2d74b554670c89a07 (patch)
tree458bf135bc9e67798aa040a9611c643f830748c0 /Source/SPKeychain.m
parentcdc6128ce0ba10b15ec735dc1191705c8b75a19c (diff)
downloadsequelpro-c90130c7b9a66d921e0b45e2d74b554670c89a07.tar.gz
sequelpro-c90130c7b9a66d921e0b45e2d74b554670c89a07.tar.bz2
sequelpro-c90130c7b9a66d921e0b45e2d74b554670c89a07.zip
Replace deprecated stringWithCString:length: and update Console.xib after SPQueryConsole rename.
Diffstat (limited to 'Source/SPKeychain.m')
-rw-r--r--Source/SPKeychain.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPKeychain.m b/Source/SPKeychain.m
index 5e98eb26..0523d55b 100644
--- a/Source/SPKeychain.m
+++ b/Source/SPKeychain.m
@@ -137,7 +137,7 @@
);
if (status == noErr) {
- password = [NSString stringWithCString:passwordData length:passwordLength];
+ password = [NSString stringWithCString:passwordData encoding:NSUTF8StringEncoding];
// Free the data allocated by SecKeychainFindGenericPassword:
SecKeychainItemFreeContent(