diff options
| author | konodin <konodin@posteo.net> | 2026-01-18 21:42:14 +0100 |
|---|---|---|
| committer | konodin <konodin@posteo.net> | 2026-01-18 21:42:14 +0100 |
| commit | 2ce21cd3f72eb192e1317b12b468b857e3aedfe1 (patch) | |
| tree | 78764487579b9f91bb182d590ec0de45daa7bac7 /core/net | |
| parent | d46c547264c2be4ff46887d96354e653dbd6069d (diff) | |
Fix `endpoint_to_string` missing colon
Diffstat (limited to 'core/net')
| -rw-r--r-- | core/net/addr.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/net/addr.odin b/core/net/addr.odin index a3fa02cce..d29b46b65 100644 --- a/core/net/addr.odin +++ b/core/net/addr.odin @@ -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, "[") |