diff options
-rw-r--r-- | Source/TableDocument.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableDocument.m b/Source/TableDocument.m index d97a146e..1a56d480 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -2886,7 +2886,7 @@ break; case SPSocketConnection: aString = @"SPSocketConnection"; - [connection setObject:[connectionController socket] forKey:@"socket"]; + if ([connectionController socket] && [[connectionController socket] length]) [connection setObject:[connectionController socket] forKey:@"socket"]; break; case SPSSHTunnelConnection: aString = @"SPSSHTunnelConnection"; |