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