From f6c94171c93ec7fc94b24ab963495204d910c84c Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 28 Sep 2024 12:32:23 -0300 Subject: [PATCH] fix --- vlib/net/util.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vlib/net/util.v b/vlib/net/util.v index 8d3a7d253595b6..f7ad4b6c83f188 100644 --- a/vlib/net/util.v +++ b/vlib/net/util.v @@ -34,8 +34,7 @@ pub fn split_address(addr string) !(string, u16) { } } else { // addr only - port := 0 address := addr.all_before_last(':') - return address, p + return address, 0 } }