styleCheck: Fix some inconsistent identifiers (#16177)
This commit is contained in:
parent
29c9a1c14b
commit
297c8e403d
20 changed files with 64 additions and 64 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue