diff options
author | avenjamin <avenjamin@gmail.com> | 2009-07-09 22:08:18 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2009-07-09 22:08:18 +0000 |
commit | e1602ee0f7ae46a52aac8f18e5752eae8bb72664 (patch) | |
tree | ad56cbb1052a1e40090913926adb6903ccadd0f9 /Source | |
parent | b5f8fa76b54e16448de8e723240daf8159860d6d (diff) | |
download | sequelpro-e1602ee0f7ae46a52aac8f18e5752eae8bb72664.tar.gz sequelpro-e1602ee0f7ae46a52aac8f18e5752eae8bb72664.tar.bz2 sequelpro-e1602ee0f7ae46a52aac8f18e5752eae8bb72664.zip |
Fix to clear compilation errors. 2 variables theUser and theHost weren't declared as pointers.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/TableDocument.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index d6758112..f4383535 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1290,7 +1290,7 @@ - (NSString *)host { if ([connectionController type] == SP_CONNECTION_SOCKET) return @"localhost"; - NSString theHost = [connectionController host]; + NSString *theHost = [connectionController host]; if (!theHost) theHost = @""; return theHost; } @@ -1338,7 +1338,7 @@ */ - (NSString *)user { - NSString theUser = [connectionController user]; + NSString *theUser = [connectionController user]; if (!theUser) theUser = @""; return theUser; } |