mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-21 15:11:12 +00:00
Fix endpoint_to_string missing colon
This commit is contained in:
@@ -619,6 +619,7 @@ endpoint_to_string :: proc(ep: Endpoint, allocator := context.temp_allocator) ->
|
||||
switch a in ep.address {
|
||||
case IP4_Address:
|
||||
strings.write_string(&b, s)
|
||||
strings.write_string(&b, ":")
|
||||
strings.write_int(&b, ep.port)
|
||||
case IP6_Address:
|
||||
strings.write_string(&b, "[")
|
||||
|
||||
Reference in New Issue
Block a user