session name for ssl
authorThomasV <thomasv@gitorious>
Sat, 24 Nov 2012 23:23:06 +0000 (03:23 +0400)
committerThomasV <thomasv@gitorious>
Sat, 24 Nov 2012 23:23:06 +0000 (03:23 +0400)
processor.py
transports/stratum_tcp.py

index 8d1788d..314f4c5 100644 (file)
@@ -227,7 +227,7 @@ class Session:
             addr = None
 
         if self.subscriptions:
-            print_log( "%4s"%self.name, "%14s"%self.address, "%35s"%addr, "%3d"%len(self.subscriptions), self.version )
+            print_log( "%4s"%self.name, "%15s"%self.address, "%35s"%addr, "%3d"%len(self.subscriptions), self.version )
 
     def stopped(self):
         with self.lock:
index 17c2b9a..ffdd871 100644 (file)
@@ -22,7 +22,7 @@ class TcpSession(Session):
             self._connection = connection
 
         self.address = address[0]
-        self.name = "TCP" if not use_ssl else "TCP/SSL"
+        self.name = "TCP " if not use_ssl else "SSL "
 
     def connection(self):
         if self.stopped():