0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::net: Remove additional defaults and stale comments.

This commit is contained in:
Jason Volk 2020-03-06 10:42:39 -08:00
parent 18ec08c92b
commit 4b41efcdc8

View file

@ -1384,7 +1384,7 @@ try
,ep ,ep
{ {
make_address(unquote(opts.get("host", "*"_sv))), make_address(unquote(opts.get("host", "*"_sv))),
opts.get<uint16_t>("port", 8448L) opts.at<uint16_t>("port")
} }
,a ,a
{ {
@ -2410,7 +2410,7 @@ try
,ep ,ep
{ {
make_address(unquote(opts.get("host", "*"_sv))), make_address(unquote(opts.get("host", "*"_sv))),
opts.get<uint16_t>("port", 8448L) opts.at<uint16_t>("port")
} }
,a ,a
{ {
@ -4383,8 +4383,7 @@ const
/// Creates a host:service or host:port pair from the single string literally /// Creates a host:service or host:port pair from the single string literally
/// containing the colon deliminated values. If the suffix is a port number /// containing the colon deliminated values. If the suffix is a port number
/// then the behavior for the port number constructor applies; if a service /// then the behavior for the port number constructor applies; if a service
/// string then the service constructor applies; if empty (just a hostname) /// string then the service constructor applies.
/// then service "matrix" is assumed with port 8448 fallback.
ircd::net::hostport::hostport(const string_view &amalgam) ircd::net::hostport::hostport(const string_view &amalgam)
:host :host
{ {