aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSSHTunnel.m')
-rw-r--r--Source/SPSSHTunnel.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPSSHTunnel.m b/Source/SPSSHTunnel.m
index 66db2a9e..467c43fc 100644
--- a/Source/SPSSHTunnel.m
+++ b/Source/SPSSHTunnel.m
@@ -36,6 +36,7 @@
#import "RegexKitLite.h"
#import "SPKeychain.h"
#import "SPAlertSheets.h"
+#import "SPThreadAdditions.h"
#import <netinet/in.h>
#import <CommonCrypto/CommonDigest.h>
@@ -218,7 +219,7 @@
[debugMessagesLock lock];
[debugMessages removeAllObjects];
[debugMessagesLock unlock];
- [NSThread detachNewThreadSelector:@selector(launchTask:) toTarget: self withObject: nil ];
+ [NSThread detachNewThreadWithName:@"SPSSHTunnel SSH binary communication task" target:self selector:@selector(launchTask:) object:nil];
}
/*