From: Steinar H. Gunderson Date: Sun, 1 Dec 2013 01:41:15 +0000 (+0100) Subject: Minor deduplication. X-Git-Tag: 1.0.2~5 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=afb6264b5c56ce9e8c85b336bd247caa55b97478 Minor deduplication. --- diff --git a/config.cpp b/config.cpp index 3122cc5..cce70e9 100644 --- a/config.cpp +++ b/config.cpp @@ -331,7 +331,7 @@ bool parse_udpstream(const ConfigLine &line, Config *config) UDPStreamConfig udpstream; string hostport = line.arguments[0]; - if (!parse_hostport(line.arguments[0], &udpstream.dst)) { + if (!parse_hostport(hostport, &udpstream.dst)) { return false; }