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