From e1602ee0f7ae46a52aac8f18e5752eae8bb72664 Mon Sep 17 00:00:00 2001 From: avenjamin Date: Thu, 9 Jul 2009 22:08:18 +0000 Subject: Fix to clear compilation errors. 2 variables theUser and theHost weren't declared as pointers. --- Source/TableDocument.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') 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; } -- cgit v1.2.3