make proc names consistent (#18626)
* rename `endswith` to `endsWith` * rename
This commit is contained in:
parent
916d0c21af
commit
2bc07554cc
9 changed files with 13 additions and 13 deletions
|
|
@ -59,7 +59,7 @@ proc readMessages(server: AsyncSocket) {.async.} =
|
|||
while i < maxResponses:
|
||||
let (data, fromIp, fromPort) = await recvFrom(server, 16384)
|
||||
|
||||
if data.startswith("Message ") and fromIp == "127.0.0.1":
|
||||
if data.startsWith("Message ") and fromIp == "127.0.0.1":
|
||||
await sendTo(server, fromIp, fromPort, data)
|
||||
|
||||
inc(msgCount)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue