Added {.final.} to objects which are not meant to be inherited, and added an OSError() when recvLine fails.

This commit is contained in:
dom96
2010-10-23 23:26:08 +01:00
parent 4922b52dea
commit 293563ee11
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
import openssl, strutils, os
type
TSecureSocket* = object
TSecureSocket* = object {.final.}
ssl: PSSL
bio: PBIO

View File

@@ -27,13 +27,13 @@
import sockets, strutils, strtabs, ssl, base64
type
TSMTP* = object
TSMTP* = object {.final.}
sock: TSocket
sslSock: TSecureSocket
ssl: Bool
debug: Bool
TMessage* = object
TMessage* = object {.final.}
msgTo: seq[String]
msgCc: seq[String]
msgSubject: String