X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=config.cpp;h=cce70e927e18ba93125af303f0ac151d5c5c5e39;hb=afb6264b5c56ce9e8c85b336bd247caa55b97478;hp=3122cc568de0514f9386ad7844b3ffc478cee052;hpb=43295b9f228a5b2d2b602f22a9728720138214ef;p=cubemap 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; }