summary refs log tree commit diff stats
path: root/lib/pure/nativesockets.nim
diff options
context:
space:
mode:
authoree7 <45465154+ee7@users.noreply.github.com>2020-12-21 18:41:56 +0100
committerGitHub <noreply@github.com>2020-12-21 09:41:56 -0800
commit297c8e403d110dd872e070563328f4e0c734cd01 (patch)
tree30b72bb67d7f67905432797406bd84c45fe0a419 /lib/pure/nativesockets.nim
parent29c9a1c14b67ababca7b8ad7f80a0b84d74cfc9b (diff)
downloadNim-297c8e403d110dd872e070563328f4e0c734cd01.tar.gz
styleCheck: Fix some inconsistent identifiers (#16177)
Diffstat (limited to 'lib/pure/nativesockets.nim')
-rw-r--r--lib/pure/nativesockets.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/nativesockets.nim b/lib/pure/nativesockets.nim
index 1f597f8eb..f1445fca5 100644
--- a/lib/pure/nativesockets.nim
+++ b/lib/pure/nativesockets.nim
@@ -209,7 +209,7 @@ proc getProtoByName*(name: string): int {.since: (1, 3, 5).} =
     let protoent = posix.getprotobyname(name.cstring)
   
   if protoent == nil:
-    raise newException(OsError, "protocol not found")
+    raise newException(OSError, "protocol not found")
 
   result = protoent.p_proto.int