On Wed, 30 Nov 2016 18:02:53 +0100 Felix Fietkau <n...@nbd.name> wrote:
> On 2016-11-30 17:49, Alexander Couzens wrote: > [...] > I think the comparison against the default port is unnecessary, just > include the port if it was provided as part of the URL. > I also don't like the duplication of the ustream_printf line. > How about: > "Host: %s%s%s" ... > url->port ? ":" : "", > url->port ? url->port : "", looks better. best, lynxis
pgpCVaLqsInWb.pgp
Description: OpenPGP digital signature
_______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev