mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::net: Remove string(net::hostport) branch which drops port from output.
This commit is contained in:
parent
5a3ed6e4b3
commit
fa19b9b182
1 changed files with 0 additions and 8 deletions
|
@ -4488,14 +4488,6 @@ ircd::net::string(const mutable_buffer &buf,
|
|||
tolower(tlbuf[0], host(hp)),
|
||||
};
|
||||
|
||||
if(!empty(service(hp)))
|
||||
return fmt::sprintf
|
||||
{
|
||||
buf, "%s:%s",
|
||||
tolower(tlbuf[0], host(hp)),
|
||||
tolower(tlbuf[1], service(hp)),
|
||||
};
|
||||
|
||||
if(empty(service(hp)) && port(hp) != 0)
|
||||
return fmt::sprintf
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue