]> git.sesse.net Git - cubemap/commitdiff
Minor deduplication.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 01:41:15 +0000 (02:41 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Dec 2013 01:41:15 +0000 (02:41 +0100)
config.cpp

index 3122cc568de0514f9386ad7844b3ffc478cee052..cce70e927e18ba93125af303f0ac151d5c5c5e39 100644 (file)
@@ -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;
        }