summary refs log tree commit diff stats
path: root/lib/impure/ssl.nim
diff options
context:
space:
mode:
authordom96 <dominikpicheta@googlemail.com>2010-10-23 23:26:08 +0100
committerdom96 <dominikpicheta@googlemail.com>2010-10-23 23:26:08 +0100
commit293563ee114033db12497bfbf533c9a60d0f9bcb (patch)
tree70cd5c343d11c94ae0232297de6497cc1abe1e23 /lib/impure/ssl.nim
parent4922b52deaeaf2ba1bd4d9cfd063e267a599a3cc (diff)
downloadNim-293563ee114033db12497bfbf533c9a60d0f9bcb.tar.gz
Added {.final.} to objects which are not meant to be inherited, and added an OSError() when recvLine fails.
Diffstat (limited to 'lib/impure/ssl.nim')
-rw-r--r--lib/impure/ssl.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/ssl.nim b/lib/impure/ssl.nim
index e7c83e5c2..5a39f6f31 100644
--- a/lib/impure/ssl.nim
+++ b/lib/impure/ssl.nim
@@ -13,7 +13,7 @@
 import openssl, strutils, os
 
 type
-  TSecureSocket* = object
+  TSecureSocket* = object {.final.}
     ssl: PSSL
     bio: PBIO