mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 02:18:53 +02:00
ircd::net::hostport: Fix condition for service string in rfc3986::uri ctor.
This commit is contained in:
parent
6bafde3f1c
commit
75445eb047
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ ircd::net::hostport::hostport(const rfc3986::uri &uri)
|
|||
}
|
||||
,service
|
||||
{
|
||||
uri.scheme
|
||||
!rfc3986::port(uri.remote)?
|
||||
uri.scheme:
|
||||
string_view{}
|
||||
}
|
||||
,port
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue