summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/httpserver.nim2
-rw-r--r--lib/system/threads.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/httpserver.nim b/lib/pure/httpserver.nim
index 8de708c5d..885742b64 100644
--- a/lib/pure/httpserver.nim
+++ b/lib/pure/httpserver.nim
@@ -192,7 +192,7 @@ when false:
     if path[path.len-1] == '/' or existsDir(path):
       path = path / "index.html"
 
-    if not ExistsFile(path):
+    if not existsFile(path):
       discardHeaders(client)
       notFound(client)
     else:
diff --git a/lib/system/threads.nim b/lib/system/threads.nim
index 0d52e4d09..d3b3aa457 100644
--- a/lib/system/threads.nim
+++ b/lib/system/threads.nim
@@ -243,7 +243,7 @@ when not defined(useNimRtl):
       
     # on UNIX, the GC uses ``SIGFREEZE`` to tell every thread to stop so that
     # the GC can examine the stacks?
-    proc stopTheWord() = nil
+    proc stopTheWord() = discard
     
 # We jump through some hops here to ensure that Nimrod thread procs can have
 # the Nimrod calling convention. This is needed because thread procs are