aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-06-11 21:29:38 +0200
committerMax <post@wickenrode.com>2015-06-11 21:30:08 +0200
commitf12f9ce2853145ddcede5e4aef5511f9380d740f (patch)
tree698cdfba45a5203ca20db7c4a83baf1cc3ec3e39
parent658e61b113db99d65bebd22a767e06a43d52a240 (diff)
downloadsequelpro-f12f9ce2853145ddcede5e4aef5511f9380d740f.tar.gz
sequelpro-f12f9ce2853145ddcede5e4aef5511f9380d740f.tar.bz2
sequelpro-f12f9ce2853145ddcede5e4aef5511f9380d740f.zip
And here I thought even Xcode 4 would support that…
-rw-r--r--Source/SPSSHTunnel.h1
-rw-r--r--Source/SPSSHTunnel.m4
2 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPSSHTunnel.h b/Source/SPSSHTunnel.h
index 28be0fa7..f41c2d57 100644
--- a/Source/SPSSHTunnel.h
+++ b/Source/SPSSHTunnel.h
@@ -41,6 +41,7 @@
NSPipe *standardError;
NSConnection *tunnelConnection;
NSString *lastError;
+ id lastErrorLock;
NSString *tunnelConnectionName;
NSString *tunnelConnectionVerifyHash;
NSString *sshHost;
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 2d9ce5cc..4a0ec308 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -42,9 +42,7 @@
static unsigned short getRandomPort();
-@interface SPSSHTunnel () {
- id lastErrorLock;
-}
+@interface SPSSHTunnel ()
- (void)setLastError:(NSString *)msg;